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 README.*
|
||||||
include requirements.txt
|
include *.txt
|
||||||
include test-requirements.txt
|
include setup.py
|
||||||
|
recursive-include tests *
|
||||||
recursive-include sample *
|
recursive-include sample *
|
||||||
|
2
setup.py
2
setup.py
@@ -36,6 +36,8 @@ setup(
|
|||||||
packages=['pyVmomi', 'pyVim'],
|
packages=['pyVmomi', 'pyVim'],
|
||||||
install_requires=required,
|
install_requires=required,
|
||||||
license='License :: OSI Approved :: Apache Software License',
|
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
|
# NOTE: pypi prefers the use of RST to render docs
|
||||||
long_description=read('README.rst'),
|
long_description=read('README.rst'),
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
Reference in New Issue
Block a user