wpumacay / math3d

A basic math library for vectors and matrices (just for 2,3, and 4 dimensions)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make source distribution for PyPi deployment

wpumacay opened this issue · comments

commented

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.
commented

There's an issue with the source distribution in TestPyPI. It only builds when using the pip flag --no-build-isolation

commented

The full command for installing from TestPyPI is the following:

pip install --no-build-isolation -i https://test.pypi.org/simple/ math3d -v