Skip to content

Commit 9e95c51

Browse files
committed
Fix install_requires parsing for requirements lines with spaces in them
1 parent 1a6ebc7 commit 9e95c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
HERE = path.dirname(__file__)
1414

1515
with open(path.join(HERE, "requirements.txt")) as requirements_file:
16-
requirements = requirements_file.read().split()
16+
requirements = requirements_file.read().strip().split("\n")
1717

1818
with open(path.join(HERE, "README.md")) as readme_file:
1919
long_description = readme_file.read()

0 commit comments

Comments
 (0)