File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 16
16
import re
17
17
18
18
19
- with open (os .path .join (os .path .dirname (__file__ ),
20
- 'influxdb' ,
21
- '__init__.py' )) as f :
22
- version = re .search ("__version__ = '([^']+)'" , f .read ()).group (1 )
19
+ with open (os .path .join (os .path .dirname (__file__ ), 'influxdb' , '__init__.py' )) as f :
20
+ version = re .search ("__version__ = '([^']+)'" , f .read ()).group (1 )
23
21
24
22
with open ('requirements.txt' , 'r' ) as f :
25
23
requires = [x .strip () for x in f if x .strip ()]
26
24
27
25
with open ('test-requirements.txt' , 'r' ) as f :
28
26
test_requires = [x .strip () for x in f if x .strip ()]
29
27
28
+ with open ('README.md' , 'r' ) as f :
29
+ readme = f .read ()
30
+
31
+
30
32
setup (
31
33
name = 'influxdb' ,
32
34
version = version ,
33
- description = "influxdb client" ,
34
- license = 'MIT' ,
35
+ description = "InfluxDB client" ,
36
+ long_description = readme ,
37
+ url = 'https://github.com/influxdb/influxdb-python' ,
38
+ license = 'MIT License' ,
35
39
packages = find_packages (exclude = ['tests' ]),
36
40
test_suite = 'tests' ,
37
41
tests_require = test_requires ,
You can’t perform that action at this time.
0 commit comments