All commands are for windows cmd...
Install python, follow guide
Then pip install --user pipenv
Add to path, typically at %userprofile%\AppData\Roaming\Python\Python311\Scripts
Create venv:
py -3 -m venv venv
Install deps:
venv\scripts\activate
python -m pip install -r requirements.txt
Create venv, install deps:
pipenv install --dev
First activate venv: venv\scripts\activate
(deactivate: deactivate
)
Then start any py
file:
cls & python base/01_henlo.py
Btw only the file base/04_cycles.py
can simply be opened from explorer...
Either activate shell: pipenv shell
(deactivate: exit
)
Or run files through pipenv run (preferred):
cls & pipenv run python base/01_henlo.py
Install a new dep: pipenv install numpy
Save deps after any install – for vanilla pip:
python -m pip freeze > requirements.txt
Run tests:
test.bat
Run Prettier:
pipenv run prettier
Lint, but only for folder RI
:
pipenv run lint
Lol :)