Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix bug 1033830 - Add `dependency_links` to `setup.py`

- Updates crontabber to 0.11
- Fixes `setup.py install`
  • Loading branch information...
commit 1918b73b83cf160c0abf82eddb3aaff7d72e77cd 1 parent af4a481
@bramwelt bramwelt authored
Showing with 11 additions and 3 deletions.
  1. +2 −2 requirements.txt
  2. +9 −1 setup.py
View
4 requirements.txt
@@ -81,8 +81,8 @@ python-dateutil==2.1
ordereddict==1.1
# sha256: lYZcSuutNwxTiQcnhSD-4T52C-Z8ceuYmnqfsNJm_pA
happybase==0.7
-# sha256: 58Vwz2HzYCj5GrhPK8F-R_WysFm2G9gRuFtofr1ZZTo
-crontabber==0.10
+# sha256: PFmWZJ4FR-Q2nZMrMEezSLd6PttntkjBut7SMvuSky4
+crontabber==0.11
# sometimes you get the tarball, sometimes you get the wheel
# sha256: vP9eVeRaj-DDdx6AVgIdSHFN6WQh0e3uw20S9zdQOZc
View
10 setup.py
@@ -17,10 +17,17 @@ def read(fname):
return f.read().strip()
+def find_dependency_links():
+ return [x.split('#egg=')[1]
+ for x in read('requirements.txt').splitlines()
+ if x.startswith('http')]
+
+
def find_install_requires():
return [x.strip() for x in
read('requirements.txt').splitlines()
- if x.strip() and not x.startswith('#')]
+ if x.strip() and not x.startswith('#')
+ and not x.startswith('http')]
setup(
@@ -45,6 +52,7 @@ def find_install_requires():
'stacktrace'],
packages=find_packages(),
install_requires=find_install_requires(),
+ dependency_links=find_dependency_links(),
entry_points={
'console_scripts': [
'socorro-setupdb = socorro.external.postgresql.setupdb_app:main'
Please sign in to comment.
Something went wrong with that request. Please try again.