Skip to content

Commit

Permalink
Make sdist include LICENSE files.
Browse files Browse the repository at this point in the history
LICENSE files are required when distributing.

The latest version (~40.8, I think) of setuptools includes licenses by
default however, since we can't rely on such a new version of setuptools
being used, just use MANIFEST.in instead.

Resolves #94

PiperOrigin-RevId: 235938402
  • Loading branch information
rickeylev authored and Copybara-Service committed Feb 27, 2019
1 parent 4d8d20d commit 75a22f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include LICENSE
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
'*.tests', '*.tests.*', 'tests.*', 'tests',
]),
install_requires=INSTALL_REQUIRES,
include_package_data=True,
license='Apache 2.0',
classifiers=[
'Programming Language :: Python',
Expand Down

0 comments on commit 75a22f4

Please sign in to comment.