pandapipes
pandapipes copied to clipboard
Switch to pyproject.toml
switched from setup.py to pyproject.toml
added change to CHANGELOG.rst version in init.py and doc/source/conf.py is now read from pyproject.toml removed content of setup.py removed calls to setup.py in workflows as calling setup.py directly is deprecated
This PR adds one new dependency. sphinx-pyproject This is to allow the conf.py to read values from the pyproject.toml so incrementing the version there is no longer a manual operation. I also changed the github workflows to not call setup.py as per this post.
Important:
build does not support zip format. So builds are now tar.gz this should not make a difference to users as it can be installed by pip either way. also I did not add back the sdist flag, as i do not see why it should not publish a whl on pypi. If this is not desired build can be forced to only build the tar.gz distribution.