File tree Expand file tree Collapse file tree 3 files changed +35
-1
lines changed
Expand file tree Collapse file tree 3 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 22
33 cd dweather_client
44 virtualenv .
5- bin/pip3 install -r requirements.txt
5+ bin/pip3 install -r ../ requirements.txt
66 bin/python3 -m pytest tests
77
88See ` tests ` directory for example usage.
File renamed without changes.
Original file line number Diff line number Diff line change 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-arbol" ,
19+ install_requires = load_requirements ("requirements.txt" ),
20+ version = "1.0" ,
21+ author = "Ben Andre" ,
22+ 23+ description = "Python client for interacting with weather data on IPFS." ,
24+ long_description = long_description ,
25+ long_description_content_type = "text/markdown" ,
26+ url = "https://github.com/Arbol-Project/dWeather-Python-Client.git" ,
27+ packages = ['dweather_client' ],
28+ classifiers = [
29+ "Programming Language :: Python :: 3" ,
30+ "License :: OSI Approved :: MIT License" ,
31+ "Operating System :: OS Independent" ,
32+ ],
33+ python_requires = '>=3.6' ,
34+ )
You can’t perform that action at this time.
0 commit comments