Add configuration for building wheels#10
Open
eleftherioszisis wants to merge 1 commit intowackywendell:masterfrom
Open
Add configuration for building wheels#10eleftherioszisis wants to merge 1 commit intowackywendell:masterfrom
eleftherioszisis wants to merge 1 commit intowackywendell:masterfrom
Conversation
|
Just to let you know that I succesfully installed it for python |
Could you please describe how you did it? I'm having trouble installing in wsl2. |
|
Basically: pip install wheel
pip install setuptools-scm
pip install setuptools
...
pip uninstall tess --yes
...
REM potentially delete binaries
pip install --editable %path_root_of_tess%Note that in my case I install a local version of the library. You can check out the scripts I use: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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