Skip to content

Commit 26e745f

Browse files
committed
Fix requirement file
1 parent 9891a6d commit 26e745f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
pyodbc
22
pymysql
3-
#psycopg2 # Commented out because I could not pip install it.
43
six
54
sqlalchemy
6-
geoalchemy==0.7.3
5+
https://github.com/ODM2/geoalchemy/archive/v0.7.3.tar.gz
76
shapely
8-
#matplotlib
97
dateutils
108
pandas
9+
#psycopg2 # Commented out because I could not pip install it.
10+
#matplotlib
1111
#sqlalchemy-migrate

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
here = path.abspath(path.dirname(__file__))
2020
with open('requirements.txt') as f:
2121
require = f.readlines()
22-
install_requires = [r.strip() for r in require]
22+
install_requires = [r.strip() for r in require if
23+
not r.startswith('http') and not r.startswith('#')]
2324

2425
# Get the long description from the relevant file
2526
# with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:

0 commit comments

Comments
 (0)