Skip to content

Commit 9192555

Browse files
committed
Distribute package as a universal wheel
Wheels are the modern standard of Python distribution Advantages of wheels: - Faster installation - Avoids arbitrary code execution for installation by avoiding 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 When you'd normally run `python3 setup.py sdist upload`, run instead `python3 setup.py sdist bdist_wheel upload`. For more details, see: https://pythonwheels.com/
1 parent 46603d2 commit 9192555

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docs/release-howto.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ How To Make A Release
1616

1717
6. Upload release to pypi.python.org
1818

19-
python setup.py sdist upload
19+
python setup.py sdist bdist_wheel upload
2020

2121
7. Create a new release on https://github.com/python-cas/python-cas/releases

setup.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[bdist_wheel]
2+
universal = 1
3+
4+
[metadata]
5+
license_file = LICENSE.txt

0 commit comments

Comments
 (0)