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
└── share
Install python
and pip
to default location .venv
.
make python
Helper command for "health checking".
make ping
Install packages from the requirements.txt
.
make pip_install
Clean virtual env by removing .venv
dir.
make clean_venv
Remove installed and previously cloned Python source.
make clean
The 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.