Installation¶
spinterp can be installed from PyPI or directly from source via GitHub.
PyPI¶
For using the PyPI package in your project, add it to your configuration file:
[project.dependencies]
spinterp = "*" # (1)!
- Specifying a version is recommended
spinterp>=0.1.0
pip¶
pip install --upgrade --user spinterp # (1)!
- You may need to use
pip3instead ofpipdepending on your Python installation.
python -m venv .venv
source .venv/bin/activate
pip install --require-virtualenv --upgrade spinterp # (1)!
- You may need to use
pip3instead ofpipdepending on your Python installation.
Note
The command to activate the virtual environment depends on your platform and shell. More info
uv¶
uv add spinterp
uv sync
uv venv
uv pip install spinterp
pipenv¶
pipenv install spinterp
poetry¶
poetry add spinterp
pdm¶
pdm add spinterp
hatch¶
hatch add spinterp
GitHub¶
Install the latest development version directly from the repository:
pip install --upgrade "git+https://github.com/eggzec/spinterp.git#egg=spinterp"
Building locally¶
Clone and build from source if you want to modify or test local changes:
git clone https://github.com/eggzec/spinterp.git
cd spinterp
python bin/build.py install