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:
@@ -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 *
|
||||
|
2
setup.py
2
setup.py
@@ -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=[
|
||||
|
Reference in New Issue
Block a user