{"action":"created","issue":{"url":"https://api.github.com/repos/ODM2/ODM2PythonAPI/issues/43","repository_url":"https://api.github.com/repos/ODM2/ODM2PythonAPI","labels_url":"https://api.github.com/repos/ODM2/ODM2PythonAPI/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/ODM2/ODM2PythonAPI/issues/43/comments","events_url":"https://api.github.com/repos/ODM2/ODM2PythonAPI/issues/43/events","html_url":"https://github.com/ODM2/ODM2PythonAPI/issues/43","id":146633886,"number":43,"title":"Questions regarding the dependencies for the conda package","user":{"login":"ocefpaf","id":950575,"avatar_url":"https://avatars.githubusercontent.com/u/950575?v=3","gravatar_id":"","url":"https://api.github.com/users/ocefpaf","html_url":"https://github.com/ocefpaf","followers_url":"https://api.github.com/users/ocefpaf/followers","following_url":"https://api.github.com/users/ocefpaf/following{/other_user}","gists_url":"https://api.github.com/users/ocefpaf/gists{/gist_id}","starred_url":"https://api.github.com/users/ocefpaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocefpaf/subscriptions","organizations_url":"https://api.github.com/users/ocefpaf/orgs","repos_url":"https://api.github.com/users/ocefpaf/repos","events_url":"https://api.github.com/users/ocefpaf/events{/privacy}","received_events_url":"https://api.github.com/users/ocefpaf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-04-07T13:55:20Z","updated_at":"2016-04-08T16:27:00Z","closed_at":null,"body":"@emiliom the current `requirement.txt` has\r\n\r\n```shell\r\npyodbc\r\npymysql\r\nsix\r\nsqlalchemy\r\ngeoalchemy\r\n#https://github.com/ODM2/geoalchemy/archive/v0.7.3.tar.gz\r\nshapely\r\ndateutils\r\npandas\r\n#psycopg2  # Commented out because I could not pip install it.\r\n#matplotlib\r\n#sqlalchemy-migrate\r\n```\r\n\r\nThe forked `geoalchemy` is easy to solve in a conda package, but I have a few concerns regarding other packages.\r\n\r\n- `dateutils` is outdated and unavailable in Python > 2.7. Maybe it is worth revisiting the code that uses `dateutils` and adapt it to a modern library;\r\n- `psycopg2` is commented out and I don't know if it is an optional or mandatory dependency. Also, it is unavailable on Windows. (But it might be available soon. See https://github.com/conda-forge/staged-recipes/pull/101);\r\n- `matplotlib` is also commented out. I am guessing that is an optional dependency;\r\n- `sqlalchemy-migrate` same as above. There is no conda package for this one. We will need to add it here.\r\n\r\nI usually recommend to add the optional dependencies when packaging with conda. What do you want to do here?"},"comment":{"url":"https://api.github.com/repos/ODM2/ODM2PythonAPI/issues/comments/207502302","html_url":"https://github.com/ODM2/ODM2PythonAPI/issues/43#issuecomment-207502302","issue_url":"https://api.github.com/repos/ODM2/ODM2PythonAPI/issues/43","id":207502302,"user":{"login":"valentinedwv","id":851784,"avatar_url":"https://avatars.githubusercontent.com/u/851784?v=3","gravatar_id":"","url":"https://api.github.com/users/valentinedwv","html_url":"https://github.com/valentinedwv","followers_url":"https://api.github.com/users/valentinedwv/followers","following_url":"https://api.github.com/users/valentinedwv/following{/other_user}","gists_url":"https://api.github.com/users/valentinedwv/gists{/gist_id}","starred_url":"https://api.github.com/users/valentinedwv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valentinedwv/subscriptions","organizations_url":"https://api.github.com/users/valentinedwv/orgs","repos_url":"https://api.github.com/users/valentinedwv/repos","events_url":"https://api.github.com/users/valentinedwv/events{/privacy}","received_events_url":"https://api.github.com/users/valentinedwv/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T16:27:00Z","updated_at":"2016-04-08T16:27:00Z","body":"I think we can remove dateutils. It might have been a dependency in another package.\r\n\r\nsetup_clean has a good set of dependencies.\r\nhttps://github.com/ODM2/ODM2PythonAPI/tree/setup_clean"}}