Create GitHub Action to (i) build universal wheel with version taken from git tag, (ii) test the package on Linux, Windows, macOS with Python 3.8-3.12, (iii) publish package to PyPI (if git branch is main or prerelease), (iv) publish universal wheel on GitHub Release pages (if git branch is main).
Move source code to
./src/topologicpy
Add
./src/topologicpy/version.py
with the following content:__version__ = '0.6.0'
Feel free to set a package version just there (builder will use it)Prepare tests for using with
pytest
(set proper naming for test files and def), removesys.path.append("C:/Users/.../GitHub")
Make test working via:
Example:
Create GitHub Action to (i) build universal wheel with version taken from git tag, (ii) test the package on Linux, Windows, macOS with Python 3.8-3.12, (iii) publish package to PyPI (if git branch is
main
orprerelease
), (iv) publish universal wheel on GitHub Release pages (if git branch ismain
).