TimeViewers / timeview

TimeView
Other
34 stars 7 forks source link

make pip/conda installable #14

Open j9ac9k opened 6 years ago

j9ac9k commented 6 years ago

Current distribution method involves providing source only via git clone. This package should be pip installable, and ideally have a conda package that can be installed as well.

lxkain commented 6 years ago

What about folks who don't care to install a python environment?

j9ac9k commented 6 years ago

Well, we can either tell people to download, and install python themselves (or if they're on Linux they won't have to), and then run pip install timeview or we can try and support all the platforms ourselves

Given that we're targeting a research/scientific audience, asking our end user to have a python installed prior to I don't think is a big ask 🤷‍♂️

The alternative I suppose would be to prepackage our timeview with our dependencies via cx_Freeze or pyqtdeploy and host the packages online; but I would have no idea how to even troubleshoot issues that some end users may have in that regard.

lxkain commented 6 years ago

I was thinking, how about we create the packages, but also keep our install scripts as an option (it would install our sources as a package).

j9ac9k commented 6 years ago

I'm still not a fan of those scripts for the widespread audience, as the application is installed via a non-standard way.

On windows, there is no .exe file, no shortcut in the start menu/desktop. It's a portable application that takes ~2-3GB on disk, but it's not self-contained like a portable application (but we can make it so with cx_Freeze I think).

On macOS, the application does not reside in the applications folder like other applications do; and the contents do not reside within. We could convert the python application a Mac .app using something like platypus.

On Linux, I'm not even sure how a desktop application would work here (maybe not a problem since linux distributions come with Python?)

If we want the application to install a really naive user-base, we should make the installation behave like a standard application you would install on those operating systems. I think pyqtdeploy can do that for us (but I'm not certain).

j9ac9k commented 6 years ago

as of 57f8e0b5a6806ac75fffde0568ec1731d9acca25 TimeView is pip installable, conda installable coming up