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

More information about the 'universal' flag. #71

Merged
merged 2 commits into from
Apr 27, 2018

Conversation

rbricheno
Copy link
Contributor

When I first encountered the original comment I found it a bit vague because I didn't really know about wheels. I knew that the package I wanted to make wouldn't work on Python 2 so I didn't want to make a universal wheel. But I had to research how this line needed to be changed to do what I wanted, and ended up reading the bdist_wheel.py source to find the answer, which seems excessively difficult. These changes hopefully make it more obvious what to do in my situation.

When I first encountered the original comment I found it a bit vague because I didn't really know about wheels. I knew that the package I wanted to make wouldn't work on Python 2 so I didn't want to make a universal wheel. But I had to research how this line needed to be changed to do what I wanted, and ended up reading the bdist_wheel.py source to find the answer, which seems excessively difficult. These changes hopefully make it more obvious what to do in my situation.
setup.cfg Outdated
# support. Setting the value of 'universal' to anything other than '1',
# 'true' or 'yes' (case insensitive) or removing this line will prevent
# bdist_wheel from trying to make a universal wheel. For more see:
# https://packaging.python.org/tutorials/distributing-packages/#wheels
Copy link
Member

Choose a reason for hiding this comment

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

Trying to give the whole story here seems likely to confuse people. I'd prefer the addition to just say "Removing this line (or setting universal to 0) will prevent..."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! I agree, your version is better.

@pfmoore
Copy link
Member

pfmoore commented Apr 27, 2018

LGTM

@pfmoore pfmoore merged commit 6a2444b into pypa:master Apr 27, 2018
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