File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change
1
+ include requirements.txt
1
2
include README.rst
Original file line number Diff line number Diff line change 7
7
VERSION_PATTERN = re .compile (r'^[^#]*__version__\W*\=\W*["\'](.*)["\']' )
8
8
VERSION = None
9
9
10
+ with open ('requirements.txt' ) as f :
11
+ required = f .read ().splitlines ()
12
+
13
+ required = [r for r in required if not r .startswith ('git' )]
14
+
10
15
11
16
def get_path (path ):
12
17
return os .path .join (os .path .dirname (__file__ ), path )
@@ -35,11 +40,7 @@ def get_path(path):
35
40
version = versrel ,
36
41
description = 'A Python client for the SmartFile API.' ,
37
42
long_description = long_description ,
38
- install_requires = [
39
- 'oauthlib' ,
40
- 'requests' ,
41
- 'requests_oauthlib' ,
42
- ],
43
+ install_requires = required ,
43
44
author = 'SmartFile' ,
44
45
45
46
maintainer = 'Ben Timby' ,
You can’t perform that action at this time.
0 commit comments