A python package to generate a tree visualization of Villagers cards.
- Guillaume Cerutti (guillaume.cerutti@gmail.com)
-
Open a terminal window and type
conda
. If no error message appear (but a long how-to message) then you have successfully installedconda
. -
Otherwise, you may choose to install either the miniconda tool or the anaconda distribution suitable for your OS.
-
Open a terminal window and navigate to the directory of your choice using the
cd
command. -
Copy the source repository using
git
by typing:
git clone https://github.com/gcerutti/villagers_tree.git
- In the terminal window, go to the directory where you copied the source repository:
cd villagers_tree
- Create a new environment containing all the script dependencies using the provided YAML file:
conda env create -f environment.yml
- To install the python package in the environment you just created, you need to activate it first.
conda activate villagers_tree
- Install the package contents.
python -m pip install -e .
- Each time you open a nw terminal window to use the script, you will need to activate the environment you created to access the dependencies
conda activate villagers_tree
- To generate all Villagers cards separately, run the card generation script:
generate_villager_cards
NOTE: the cards will be generated as separate
.png
files, under theoutput/villager_cards
folder.