Add configuration for building wheels #10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@wackywendell , I would like to first thank you for this package, which helped me a lot through my studies. In return, I would like to contribute to the building of wheels so that this tool can be easily used in different systems without compilation, which many times could prove tedious.
Summary of changes:
These changes maintained the current functionality of using cython to compile the pyx file whenever cython is available, otherwise compiling the cpp source, which is bundled with the package. However, imho it would be cleaner and more robust if the project strictly used cython, allowing to add a pyproject.toml config with the cython dependency as a build requirement. Then if needed to be built from source, cython would be required and no intermediate files would need to be used, otherwise one could install the wheels and easily use the package.
To enable the wheel publishing to pypi step, a new release with its respective tag vX.X.X needs to be made.
Closes #9