File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -3,4 +3,5 @@ six >= 1.7.3
3
3
curlify >= 2.1.0
4
4
pycountry >= 19.8.18
5
5
aiohttp ; python_version >= '3.5.3'
6
- https://capi-automation.s3.us-east-2.amazonaws.com/public/python/capi_param_builder/dist/capi_param_builder-0.1.0.dev0.tar.gz
6
+ https://capi-automation.s3.us-east-2.amazonaws.com/public/python/capi_param_builder/dist/capi_param_builder-0.1.0.dev0-py3-none-any.whl
7
+ capi_param_builder >= 0.1.0-dev0
Original file line number Diff line number Diff line change 54
54
PACKAGE_LONG_DESCRIPTION = f .read ()
55
55
56
56
with open (requirements_filename ) as f :
57
- PACKAGE_INSTALL_REQUIRES = [line [:- 1 ] for line in f ]
57
+ PACKAGE_INSTALL_REQUIRES = []
58
+ DEPENDENCY_LINKS = []
59
+
60
+ for line in f :
61
+ line = line .strip ()
62
+ if line .lower ().startswith (('http://' , 'https://' )):
63
+ DEPENDENCY_LINKS .append (line )
64
+ else :
65
+ PACKAGE_INSTALL_REQUIRES .append (line )
58
66
59
67
setup (
60
68
name = PACKAGE_NAME ,
70
78
long_description = PACKAGE_LONG_DESCRIPTION ,
71
79
install_requires = PACKAGE_INSTALL_REQUIRES ,
72
80
long_description_content_type = "text/markdown" ,
81
+ dependency_links = DEPENDENCY_LINKS ,
73
82
)
You can’t perform that action at this time.
0 commit comments