Installation¶
Create and Activate a Virtual Environment¶
It is recommended to use a virtual environment for development:
python -m venv .venv
# On Linux/macOS:
source .venv/bin/activate
# On Windows:
.venv\Scripts\activate
From Source¶
python -m pip install .
From Wheel¶
First, build the wheel:
python -m pip install build
python -m build
Then install:
python -m pip install dist/mypackage-*.whl