From 469216e06e04836a9e1d6778284ecba7cffd9bef Mon Sep 17 00:00:00 2001 From: annatisch Date: Sun, 5 Jul 2020 15:37:18 -0700 Subject: [PATCH] Update packaging (#199) * Exclude extra from wheel * Create setup cfg * Update manifest --- MANIFEST.in | 4 +++- setup.cfg | 2 ++ setup.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 setup.cfg diff --git a/MANIFEST.in b/MANIFEST.in index dabbc34..57211d8 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,8 +1,10 @@ include README.md include changelog.md include LICENSE.txt +include azure/__init__.py recursive-include doc *.bat recursive-include doc *.py recursive-include doc *.rst recursive-include doc Makefile -recursive-include test *.py \ No newline at end of file +recursive-include test *.py +recursive-include samples *.py diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..3c6e79c --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal=1 diff --git a/setup.py b/setup.py index 35aa0ab..3998185 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ 'Programming Language :: Python :: Implementation :: CPython', 'Topic :: Software Development :: Libraries :: Python Modules' ], - packages=setuptools.find_packages(exclude=['test', 'test.*', 'azure']), + packages=setuptools.find_packages(exclude=['test', 'test.*', 'azure', 'samples', 'samples.*', 'doc']), extras_require={ ':python_version<"3.0"': ['azure-nspkg'], },