Make source distribution for PyPi deployment
wpumacay opened this issue · comments
Description
The current installation method we provide is by cloning the repo and installing using setuptools via the provided setup.py
file. We should add support for installation from PyPI using as first approach source distributions (i.e. providing all the source code to be later compiled when installing from PyPI). We have supported a similar method in the past, so just check the legacy repo and bring back that functionality 😄 .
Tasks
- Create a MANIFEST.in file that includes all source files to be included in the distribution.
- Upload to PyPI. (Or TestPyPI)
- Test source distribution locally.
- Test source distribution on Google Colab.
There's an issue with the source distribution in TestPyPI. It only builds when using the pip flag --no-build-isolation
The full command for installing from TestPyPI is the following:
pip install --no-build-isolation -i https://test.pypi.org/simple/ math3d -v