The easiest Python environment manager. Create virtual environments for any Python version, without needing Python pre-installed.
Get the tool by running the following command:
curl -L yen.tushar.lol | bash
or if you prefer, get it by pip
:
pip install yen
$ yen list
Available Pythons:
3.11.5
3.10.13
3.9.18
3.8.17
$ yen create venv -p 3.11
Downloading 3.11.5 ━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 17.4/17.4 MB • 12.4 MB/s • 0:00:00
Created venv with Python 3.11.5 ✨
$ source venv/bin/activate
(venv) $ python --version
Python 3.11.5
- Create and activate a virtual environment
- Run
pip install -r requirements-dev.txt
to do an editable install - Run
pytest
to run tests
Run mypy .
Make sure to bump the version in setup.cfg
.
Then run the following commands:
rm -rf build dist
python setup.py sdist bdist_wheel
Then upload it to PyPI using twine:
twine upload dist/*