You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make specific RDBMS packages optional rather than required installs #44
odm2api currently requires the Python packages for all the RDBMS that it supports. In the long run, we should work towards making each of the RDBMS packages optional (except for SQLite, but that's a non-issue); users of odm2api who are never going to use, say, postgresql and mysql, shouldn't have to install those dependencies, even if we make their installation trivial as auto-installed dependencies on the upcoming odm2api conda package.
This is a low-priority issue, for now. I'm just creating it for reference.
Activity
valentinedwv commentedon Apr 8, 2016
Done in the revised setup:
extras_require={
'mysql': ['pymysql'],
'postgis': ['psycopg2'],
'sqlite': ['pyspatialite >=3.0.0'], # need to look at: http://www.gaia-gis.it/spatialite-2.4.0-4/splite-python.html
'test': ['coverage'],
},
No DB dependencies in requirements, and requirements_tests has the DB drivers:
https://raw.githubusercontent.com/ODM2/ODM2PythonAPI/setup_clean/requirements_tests.txt