We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ef9532 commit 3a85443Copy full SHA for 3a85443
1 file changed
setup.py
@@ -4,8 +4,10 @@
4
from setuptools import find_packages, setup
5
from setuptools.command.build_py import build_py
6
7
-with open("README.md", "rt") as fh:
8
- long_description = fh.read()
+long_description = ""
+if os.path.exists("README.md"):
9
+ with open("README.md", "rt") as fh:
10
+ long_description = fh.read()
11
12
with open("requirements.txt", "rt") as f:
13
requirements = [r.strip() for r in f.readlines()]
0 commit comments