skyportal / gwemopt

Gravitational-wave Electromagnetic Optimization
GNU General Public License v3.0
19 stars 34 forks source link

Modern installation method? #86

Closed robertdstein closed 1 year ago

robertdstein commented 1 year ago

Related to #81 , the use of distutils is deprecated and will be removed in python 3.12 (https://peps.python.org/pep-0632/), and setup.py files have also been deprecated in favour of pyproject.toml files (https://packaging.python.org/en/latest/tutorials/packaging-projects/, https://peps.python.org/pep-0621/, https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html).

Should we consider moving to a pyproject.toml, and using pip install -e . as the recommended install command rather than the deprecated python setup.py install?