macronucleus / Chromagnon

Image correction software for chromatic shifts in fluorescence microscopic images
GNU General Public License v2.0
21 stars 5 forks source link

package installation could delcare chromagnon entry_point #5

Closed carandraug closed 7 years ago

carandraug commented 7 years ago

setuptools has support to declare entry_points. This means that installing with pip would automatically generate a program named chromagnon instead of requiring users to specify the path for chromagnon/main.py

I am not a Windows or Mac user but my understanding is that setuptools even handles the case of correctly using pythonw for systems where required.

macronucleus commented 7 years ago

Thank you for pointing out. I have added entry_point to linux version. On Windows and Mac, this did not work for me, but script option worked like entry_point. I also updated document describing how to use it.