We're Hiring!

Omero's python client package needs setuptools compatability

General and open developer discussion about using OMERO APIs from C++, Java, Python, Matlab and more! Please new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

If you are having trouble with custom code, please provide a link to a public repository, ideally GitHub.

Omero's python client package needs setuptools compatability

Postby jamesan » Mon May 19, 2014 9:33 pm

I've hit the same issue as this post:
http://www.openmicroscopy.org/community ... hon#p13910

Our smaller datasets are built with Python on the users workstation. To support Omero I must export the images directly from Python. Unfortunately I don't see an easy path to installing Omero's Python client package (on Windows at least) from my tools setup.py script.

I can’t expect the users to do more than double-click a binary. Please consider making the package available from common Python setup mechanisms such as pip/setuptools. If ICE is required Gohlke’s python package binaries site may be an option.

I could not find this as an open issue in the bug tracker. Sorry if I missed it or if there is an easier solution.
jamesan
 
Posts: 13
Joined: Wed May 07, 2014 5:36 pm

Re: Omero's python client package needs setuptools compatabi

Postby manics » Mon May 19, 2014 11:26 pm

Hi

That's certainly something we'd like to do, but unfortunately the Python Ice module requires the installation of some Ice system libraries, and furthermore OMERO.py must match the ice version, so it's not as easy as it might seem.

I guess one thing we could look at is making OMERO.py pip installable via a URL so that providing Ice was installed by some other manner OMERO.py could be included as a full URL in your setup.py using install_requires and dependency_links. I'll add this to our todo list.

Simon
User avatar
manics
Team Member
 
Posts: 261
Joined: Mon Oct 08, 2012 11:01 am
Location: Dundee


Return to Developer Discussion

Who is online

Users browsing this forum: Google [Bot] and 0 guests