Automated pypi package deployment
Closed this issue · 3 comments
@m-mirz We would like to start with the automated pypi package deployment. Has this been done manually so far? Or is there any starting point already somewhere?
The deployment can probably be implemented using GitHub actions as described in https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/ . The python -m build --sdist --wheel --outdir dist/
command already works for dpsim. Given that the generated package has the correct format for PyPi, the upload should be quite easy to implement.
@m-mirz Procedure for new DPsim version:
- Create a new tag with increased version number
- Update setup.cfg
- Update CMakeLists.txt
- Update Dockerfile
A new pypi package will be then deployed accordingly.