To get setup for development on Windows, see this video if you prefer VS Code, or this older video if you prefer PyCharm, and the instructions below.
git clone https://github.com/[username]/malariagen-data-python.git
cd malariagen-data-pythonDownload and install Python 3.10 from the official website: https://www.python.org/downloads/windows/
During installation, check the box that says Add Python to PATH before clicking Install.
Verify the installation worked:
python --versionpython -m pip install --user pipx
python -m pipx ensurepath
pipx install poetryAfter running ensurepath, close and reopen PowerShell before continuing.
poetry install
poetry shellpipx install pre-commit
pre-commit installgit remote add upstream https://github.com/malariagen/malariagen-data-python
git pull upstream masterNote: On Windows the default branch is called master, not main.
python -c "import malariagen_data; print('Setup successful!')"poetry not found after install
Close and reopen PowerShell, then try again.
git not recognized
Install Git from https://git-scm.com/download/win and restart PowerShell.
python not recognized
Reinstall Python and make sure to check Add Python to PATH during installation.
fatal: not a git repository
Make sure you are inside the malariagen-data-python folder before running any git commands.
cd malariagen-data-pythonerror: pathspec main did not match
On Windows use master instead of main.
git checkout master