Closed andrewleech closed 5 years ago
Sorry about the very late reply, only a year :). I think your issues have since been fixed. The automation of publishing to pypi is interesting, I'll see if I can look into it sometime in the next year :)
I'm going to close this PR as with the recent removal of external dependencies, I don't think it's necessary any more. And I personally like to make pypi releases by hand. But thanks for the PR and raising the issues v1.00 had.
Hi, I'm interested in using pcpp to pre-process headers automatically before usage with cffi when creating new c-python bindings modules. It's looking good functionally in initial tests!
I've run into a couple of issues when installing pcpp however. The package on PyPI is missing a couple of things:
I'm a huge fan of automating versioning and deployment of modules to avoid issues like this and make updates as painless as possible.
This pull request automates versioning with the excellent setuptools_scm (by the official pypa team) which calculates versions from the git tags.
As such any time you want to release a new version you just make a new git tag (like "v1.0.2") and it's done. No source code modification is required. This also means you get a release on github releases page automatically, providing convenient links to commits at each release.
Alternatively you can use the releases page on github to make the release and it'll make the tag for you, both work equally well.