Skip to content

Commit

Permalink
Pack LICENSE in a different way (#74)
Browse files Browse the repository at this point in the history
We already did lots of experiments in a downstream repo to test this.
  • Loading branch information
rayluo authored Jul 10, 2019
1 parent 80eac92 commit 6fbbb21
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@
'Operating System :: OS Independent',
],
packages=find_packages(exclude=["tests"]),
data_files=[('', ['LICENSE'])],
package_data={'': ['LICENSE']}, # Do not use data_files=[...],
# which would cause the LICENSE being copied to /usr/local,
# and tend to fail because of insufficient permission.
# See https://stackoverflow.com/a/14211600/728675 for more detail
install_requires=[
'requests>=2.0.0,<3',
'PyJWT[crypto]>=1.0.0,<2',
Expand Down

0 comments on commit 6fbbb21

Please sign in to comment.