Make ipython-qtconsole a GUI script #422

merged 2 commits into from May 11, 2011


None yet

2 participants


The 'ipython-qtconsole' script is now configured as a GUI script in setuptools.

This only really matters on Windows: it ensures that pythonw is used for the script. This is not a big deal for developers but is a good thing to have for the 0.11 release, I think.

IPython member

I see no problem with this other than possibly the copying of find_scripts to find_gui_scripts. Our setup code for finding packages and scripts is ludicrously complicated at this point, resulting in the just about every new package or script not being properly installed under some circumstances for weeks or months after being added. Maybe implement this inside one find_scripts method that returns:

if entry_points:
    return {'console_scripts' : [cscripts], 'gui_scripts' : [gscripts]}}
    return [allscripts]

So we can just do:

setuptools_extra_args['entry_points'] = find_scripts(True)
 setup_args['scripts'] = find_scripts(False)

Yes, that is better. Will do when I get a chance.


Look good?

IPython member

yes, great. Go ahead and merge.

@epatters epatters merged commit c2b156d into ipython:master May 11, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment