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

Add universal wheel support #50

Closed
wants to merge 1 commit into from
Closed

Add universal wheel support #50

wants to merge 1 commit into from

Conversation

jdufresne
Copy link
Contributor

Wheels are the new standard of python distribution.

For detailed information, see PEP 427.

For high level information, see: https://pythonwheels.com/

Advantages of wheels

  • Faster installation for pure Python packages
  • Avoids arbitrary code execution for installation (avoids setup.py)
  • Allows better caching for testing and continuous integration
  • Creates .pyc files as part of installation to ensure they match the python interpreter used
  • More consistent installs across platforms and machines

As this package is pure Pythong (no C files), I have marked the wheel as universal.

When you'd normally run python setup.py sdist upload, run instead python setup.py sdist bdist_wheel upload.

@vlasovskikh vlasovskikh self-assigned this Jun 7, 2020
Wheels are the new standard of python distribution.

For detailed information, see PEP 427.

https://www.python.org/dev/peps/pep-0427/

For high level information, see:

https://pythonwheels.com/

Advantages of wheels

* Faster installation for pure Python packages
* Avoids arbitrary code execution for installation (avoids setup.py)
* Allows better caching for testing and continuous integration
* Creates .pyc files as part of installation to ensure they match the python interpreter used
* More consistent installs across platforms and machines

As this package is pure Pythong (no C files), I have marked the wheel as
universal.

When you'd normally run "python setup.py sdist upload", run instead
"python setup.py sdist bdist_wheel upload".
@vlasovskikh
Copy link
Owner

@jdufresne Thank you for updating your pull requests. I'm now considering switching from setuptools to Poetry, so some of the changes in your PRs may not be necessary. See my PR #61, feel free to review it, if you're interested :)

@vlasovskikh
Copy link
Owner

@jdufresne I switched from setuptools to poetry, so wheels are now created automatically by poetry build.

@jdufresne jdufresne deleted the wheel branch June 12, 2020 18:28
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