sponce24 / aiida-abinit

Other
2 stars 4 forks source link

DevOps: adopt PEP 621 and move build spec to `pyproject.toml` #18

Closed sphuber closed 1 year ago

sphuber commented 1 year ago

Following PEP 621 it is now possible to fully define the build procedure of your package in pyproject.toml. Since this PEP is now well supported, and for example pip can use it, we migrate to it since it provides a bunch of benefits:

Also the LICENSE file is renamed to LICENSE.txt to use a correct file extension.

sphuber commented 1 year ago

The changes in this PR will allow to add an automatic continuous deployment workflow. This will automate the release procedure. Simply push a new tag with a new version number and the workflow will automatically run the pre-commit and tests, and when they pass build the package and push to PyPI.