Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update setup.py #475

Closed
wants to merge 1 commit into from
Closed

Update setup.py #475

wants to merge 1 commit into from

Conversation

woshikie
Copy link

@woshikie woshikie commented Jul 13, 2018

@hongquanand I was trying to build wheel packages for different platform but the current setup.py gives ussnowboy-1.3.0-py3-none-any.whl instead of snowboy-1.3.0-cp36-cp36m-linux_x86_64.whl (on 64bit linux) or snowboy-1.3.0-cp35-cp35m-linux_armv61.whl (on armv6)
We're afraid that if we upload snowboy-1.3.0-py3-none-any.whl that is compiled using an x86_64 cpu, it will not be usable on an, for example, arm6 or arm7 cpu device (e.g. Raspberry Pi Zero, Pi 3B/3B+).

Reference taken from Anthony Sottile from stackoverflow.

I was trying to build wheel packages for different platform but the current setup.py gives me `snowboy-1.3.0-py3-none-any.whl` instead of `snowboy-1.3.0-cp36-cp36m-linux_x86_64.whl`. 
This commit will correct that.

Reference taken from [Anthony Sottile from stackoverflow](https://stackoverflow.com/questions/45150304/how-to-force-a-python-wheel-to-be-platform-specific-when-building-it).
Copy link

@imrrahul imrrahul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !! either you can make changes in the python3 file under swig folder as I did that and it worked for me but thanks for pointing out this one.

@woshikie
Copy link
Author

Closing this pull request since it has been inactive.

@woshikie woshikie closed this Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants