I do not use setuptools 'entry_points' myself. My understanding was that
they were intended for plugin mechanisms so that one package could find
another package if they both agree to use 'entry_points' instead of the
typical "try import" method. But, I also admit that there is much in
setuptools I do not fully understand.
well, entry_points is also used for making top-level executables...
there is much in setuptools that I don't understand at all
-- it's a
mess.
But, if you are trying to register runnable scripts on Mac OSX with
Anaconda Python, then the scripts definitely need to be run with pythonw.
This is Anaconda vs wxPython, and is entirely ContinuumIO's choice. They
know about the problem, know that simple solutions exist, and do not care
to solve it. Please complain to ContinuumIO.
the solution is not THAT simple, but yes, a Soutilon exists, and Contimuum
hasn't done antyihng about it. If you want to do somethning about it, and
have any fluency with configure scripts, etc, then you could do that fix
and constirubte it to conda-forge -- where it then *might* get picked up by
continuum...
But it's also a setuptools, bug, and They don't seem interested in fixing
it either -- i.e. "pythonw" has existed for many years, and gui_scripts
SHOULD use it.
sigh.
But, as Matt says, you should be able to get it o work by writing your
top-level script by hand to use pythonw
-CHB
···
On Fri, Jun 30, 2017 at 5:25 AM, Matt Newville <newville@cars.uchicago.edu> wrote:
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov