Skip to content

Commit d518e46

Browse files
author
Peter Giacomo Lombardo
authored
Switch to Python Wheels for package distribution (#283)
1 parent 72b800f commit d518e46

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Contact [Peter Giacomo Lombardo](https://github.com/pglombardo) to be added._
99
2. `git checkout master && git pull --rebase && pip install -U twine`
1010
3. Bump the package version in `instana/version.py`. `git` commit & push the version change to the master branch
1111
4. Create a [draft Release on Github](https://github.com/instana/python-sensor/releases)
12-
5. `python setup.py sdist` to create the `instana-<version>.tar.gz` file in `./dist/`
12+
5. `python setup.py sdist bdist_wheel` to create the packages file in `./dist/`
1313
6. Upload the package to Pypi with twine: `twine upload dist/instana-<version>*`
1414
7. Validate the new release on https://pypi.org/project/instana/
1515
8. Update Python documentation with latest changes: https://docs.instana.io/ecosystem/python/

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def check_setuptools():
5151
author='Instana Inc.',
5252
author_email='[email protected]',
5353
description='🐍 Python Distributed Tracing & Metrics Sensor for Instana',
54+
options={"bdist_wheel": {"universal": True}},
5455
packages=find_packages(exclude=['tests', 'examples']),
5556
long_description=long_description,
5657
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)