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
help specifying a build requirement from a github repo release (for geoalchemy fork) #18
@ocefpaf, if you have a bit of time (right!) I'd like to bug -- or beg? 😺 -- you for help with specifying a package dependency. This isn't conda packaging, yet; that'll be a separate conversation in the future. And it's not IOOS related, at least not yet.
The ODM2PythonAPI (odm2api) package has a dependency on a slightly customized fork of the old and no-longer-maintained geoalchemy "1"; FYI, that's the original geoalchemy, not the actively maintained geoalchemy2. The reasons for having that dependency and tweaking the old code are beyond the scope of this issue, but trust me that they are valid! I can fill you in offline if you really care.
We'd like to be able to update setup.py and/or requirements.txt so that our geoalchemy fork will be installed automatically when od2api is pip-installed via pip install git+https://github.com/ODM2/ODM2PythonAPI.git. Currently I can complete the installation with conda by setting up a conda env with all other dependencies already available via the anaconda main channel or the ioos channel (eg: conda create -n odm2api python=2.7 sqlalchemy psycopg2 pymysql pyodbc). Then, on that env, I pip install git+https://github.com/ODM2/geoalchemy.git, and thenpip install git+https://github.com/ODM2/ODM2PythonAPI.git. We'd like to be able to specify the setup/requirements so the last step carries out the right geoalchemy installation automatically. What we've tried hasn't worked.
We're not interested in pushing our geoalchemy fork to pypi or anything more formal, for now.
I know you're very busy, so if this looks too complicated, no worries if you have to pass. But if it's easy and you can help us, that'd be fantastic! We are a bit out of our depth here.
Note that psycopg2 has been removed from the dependencies, b/c apparently it doesn't install (on Macs and/or Linux?) via pip install. Someone should look into this eventually ...
See PR #20 for more details, specially my last comments; and PR #19 for preceding tests and discussions.
Activity
ocefpaf commentedon Jan 8, 2016
It seems possible. I need to take a better look at it during the weekend and I will get back to you.
emiliom commentedon Jan 11, 2016
Done! odm2api is now installable as:
This will install the
geoalchemydependency from our odm2 fork ("v0.7.3").Note that
psycopg2has been removed from the dependencies, b/c apparently it doesn't install (on Macs and/or Linux?) viapip install. Someone should look into this eventually ...See PR #20 for more details, specially my last comments; and PR #19 for preceding tests and discussions.
Thanks to @ocefpaf for helping us with this!!
ocefpaf commentedon Jan 11, 2016
My pleasure! (I was enjoy learning something new and I had no idea how
dependency-linksworked before this ;-)