Skip to content

Commit b30bdc4

Browse files
author
Benedikt Schmitt
committed
*fixed* setuptools and twine/warehouse error by making the license only 1 line long
1 parent 19459fa commit b30bdc4

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
include LICENSE
21
include README.md
32
include test.py
3+
include LICENSE

setup.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@
3838
except (OSError, IOError):
3939
long_description = "not available"
4040

41-
try:
42-
license_ = open("LICENSE").read()
43-
except (OSError, IOError):
44-
license_ = "not available"
45-
4641
setup(
4742
name = "filelock",
4843
version = __version__,
@@ -54,7 +49,7 @@
5449
url = "https://github.com/benediktschmitt/py-filelock",
5550
download_url = "https://github.com/benediktschmitt/py-filelock/archive/master.zip",
5651
py_modules = ["filelock"],
57-
license = license_,
52+
license = "Public Domain <http://unlicense.org>",
5853
test_suite="test",
5954
classifiers = [
6055
"License :: Public Domain",

0 commit comments

Comments
 (0)