Skip to content

Commit 9749e88

Browse files
committed
Merge pull request #7 from uber/db_fix_pip_incompatibilities
fix PIP incompatibilities
2 parents 8a32be6 + 3f2a0d4 commit 9749e88

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

py_look_for_timeouts/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version_info = (0, 3)
1+
version_info = (0, 4)
22
__version__ = '.'.join(map(str, version_info))

setup.py

+6-10
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ def get_install_requirements(fname):
2121
params = {'options': opts}
2222

2323
requires = []
24-
dependency_links = []
2524

2625
pip_version = StrictVersion(pip.__version__)
2726
session_support_since = StrictVersion('1.5.0')
@@ -31,19 +30,16 @@ def get_install_requirements(fname):
3130
params.update({'session': session})
3231

3332
for ir in parse_requirements(fname, **params):
34-
if ir is not None:
35-
if ir.url is not None:
36-
dependency_links.append(str(ir.url))
37-
if ir.req is not None:
38-
requires.append(str(ir.req))
39-
return requires, dependency_links
33+
if ir is not None and ir.req is not None:
34+
requires.append(str(ir.req))
35+
return requires
4036

4137

42-
tests_require, _ = get_install_requirements('requirements-tests.txt')
38+
tests_require = get_install_requirements('requirements-tests.txt')
4339

4440
setup(
4541
name="py-look-for-timeouts",
46-
version="0.3",
42+
version="0.4",
4743
author="James Brown",
4844
author_email="[email protected]",
4945
url="https://github.com/uber/py-look-for-timeouts",
@@ -55,7 +51,7 @@ def get_install_requirements(fname):
5551
"Topic :: Security",
5652
"Topic :: Security",
5753
"Intended Audience :: Developers",
58-
"Development Status :: 3 - Alpha",
54+
"Development Status :: 4 - Alpha",
5955
"Programming Language :: Python :: 2.7",
6056
"License :: OSI Approved :: MIT License",
6157
],

0 commit comments

Comments
 (0)