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

Default to building universal wheel #113

Merged
merged 1 commit into from
Oct 19, 2017

Conversation

IanLee1521
Copy link
Collaborator

@IanLee1521 IanLee1521 commented Sep 20, 2017

Because the project is pure Python and 2/3 compatible,
we can build a single wheel out of the package using:

$ python setup.py bdist_wheel

Ref: https://packaging.python.org/tutorials/distributing-packages/#universal-wheels

Because the project is pure Python and 2/3 compatible,
we can build a single wheel out of the package using:

`$ python setup.py bdist_wheel`

Ref: https://packaging.python.org/tutorials/distributing-packages/\#universal-wheels
@konklone
Copy link
Collaborator

Are you sure? I think sslyze has C extensions.

@IanLee1521
Copy link
Collaborator Author

It does, but the "universal-ness" of a package depends only on itself, not on its dependencies.

@konklone
Copy link
Collaborator

OK, that seems reasonable (and yeah, rereading the docs, I understand better now).

The examples in the docs say universal = 1, but you used universal = true. Will it work either way?

@IanLee1521
Copy link
Collaborator Author

Yes, I've used true in other places (and think it's clearer / better documenting).

I also tested building the wheel locally.

@konklone
Copy link
Collaborator

Cool - looks good to me, but deferring to @h-m-f-t for merges of PyPi-related stuff, since I don't have any role in the packaging process (and haven't ever managed a PyPi package).

@h-m-f-t h-m-f-t merged commit cb3ae07 into cisagov:master Oct 19, 2017
@IanLee1521 IanLee1521 deleted the universal_wheel branch October 21, 2017 05:04
cisagovbot pushed a commit that referenced this pull request Jan 7, 2023
Update Go installation in the `build.yml` workflow
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.

3 participants