I have created two github CI actions to automatically build and release the prebuilt python packages for syphonpy. This helps developers to simply install the library with pip without thinking about how to build it:
pip install syphonpy
The build.yml is a build workflow that builds the library on MacOS 10.15 and MacOS 11, with python 3.6 to 3.10. The final wheel packages will be automatically uploaded to a new repository release with the specified tag name.
The publish.yml downloads the release specified by the tag name and uploads the files to PyPI. This script needs a github environment named production, where the PYPI_API_TOKEN secret is configured.
Currently, I am the owner of the PyPi packge, but if you give me your PyPI username I can give you access to publish as well.
I would recommend to add more information to the setup.py like the homepage and author and so on.
I have created two github CI actions to automatically build and release the prebuilt python packages for syphonpy. This helps developers to simply install the library with pip without thinking about how to build it:
3.6
to3.10
. The final wheel packages will be automatically uploaded to a new repository release with the specifiedtag
name.tag
name and uploads the files to PyPI. This script needs a github environment namedproduction
, where thePYPI_API_TOKEN
secret is configured.Currently, I am the owner of the PyPi packge, but if you give me your PyPI username I can give you access to publish as well.
I would recommend to add more information to the setup.py like the homepage and author and so on.