We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0503fa5 commit efbde14Copy full SHA for efbde14
setup.py
@@ -1,12 +1,24 @@
1
import setuptools
2
3
+try:
4
+ # for pip >= 10
5
+ from pip._internal.req import parse_requirements
6
+except ImportError:
7
+ # for pip <= 9.0.3
8
+ from pip.req import parse_requirements
9
+
10
+def load_requirements(fname):
11
+ reqs = parse_requirements(fname, session="test")
12
+ return [str(ir.requirement) for ir in reqs]
13
14
with open("README.md", "r") as fh:
15
long_description = fh.read()
16
17
setuptools.setup(
18
name="dweather_client",
19
+ install_requires=load_requirements("requirements.txt"),
20
version="1.0",
- author="Arbol Inc",
21
+ author="Arbol",
22
author_email="[email protected]",
23
description="Python client for interacting with weather data on IPFS.",
24
long_description=long_description,
0 commit comments