Improve sdist and bdist packaging

* Include tests in sdist
* Include license and notices in all distributions
* Update manifest
* Use more conventional file names for licenses, notices, etc.

related to https://github.com/vmware/pyvmomi/issues/133
related to https://github.com/vmware/pyvmomi/issues/123

closes: https://github.com/vmware/pyvmomi/issues/139
This commit is contained in:
Shawn Hartsock
2014-08-25 15:23:23 -04:00
parent be59d9c0ec
commit 834692417a
4 changed files with 6 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
include README.md
include requirements.txt
include test-requirements.txt
include README.*
include *.txt
include setup.py
recursive-include tests *
recursive-include sample *

View File

@@ -36,6 +36,8 @@ setup(
packages=['pyVmomi', 'pyVim'],
install_requires=required,
license='License :: OSI Approved :: Apache Software License',
data_files = [("", ["LICENSE.txt", "NOTICE.txt", "MANIFEST.in",
"setup.py"])],
# NOTE: pypi prefers the use of RST to render docs
long_description=read('README.rst'),
classifiers=[