Skip to content

Commit

Permalink
Improve sdist and bdist packaging
Browse files Browse the repository at this point in the history
* Include tests in sdist
* Include license and notices in all distributions
* Update manifest
* Use more conventional file names for licenses, notices, etc.

related to vmware#133
related to vmware#123

closes: vmware#139
  • Loading branch information
hartsock committed Aug 26, 2014
1 parent be59d9c commit 8346924
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
File renamed without changes.
7 changes: 4 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -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 *
File renamed without changes.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ def read(fname):
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=[
Expand Down

0 comments on commit 8346924

Please sign in to comment.