Yet Another Python Versions/Environments Management "Tool".
The idea is to use GNU Make and tools provided by Python standard library, such as pip, venv, for managing packages, orchestrating Python virtual environments, and installing (compiling) Python interpreters.
-- TODO
Important
The API and command list are provisional and subject to change.
Python project dir has the following structure:
.
├── Makefile
├── pysrc # User code.
│ ├── __init__.py
│ └── lib.py
├── requirements.txt # Optional.
└── ...
└── ...After invoking make python two more directories are created .Python and .venv:
.
├── Makefile
├── pysrc # User code.
│ ├── __init__.py
│ └── lib.py
├── requirements.txt # Optional.
├── .Python # Python source code.
│ └── ...
└── .venv # Python "build" dir.
├── bin
├── include
├── lib
└── shareInstall python and pip to default location .venv.
make pythonHelper command for "health checking".
make pingInstall packages from the requirements.txt.
make pip_installClean virtual env by removing .venv dir.
make clean_venvRemove installed and previously cloned Python source.
make cleanThe project is still in the WIP stage, so the Discussions are the right place to start.
- Discussions for feedback, questions, ideas.
- Issues for bug reports.
- Pull Requests for bug fixes, enhancements etc.