From 348ed0c27ed2be0417efe9764d5b2d29b4b3f6d5 2008-08-12 23:59:57 From: gvaroquaux Date: 2008-08-12 23:59:57 Subject: [PATCH] Add ipythonx to scripts. --- diff --git a/IPython/frontend/wx/ipythonx.py b/IPython/frontend/wx/ipythonx.py old mode 100755 new mode 100644 index d9b0762..8c88f60 --- a/IPython/frontend/wx/ipythonx.py +++ b/IPython/frontend/wx/ipythonx.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python """ Entry point for a simple application giving a graphical frontend to ipython. diff --git a/scripts/ipythonx b/scripts/ipythonx new file mode 100755 index 0000000..ef189c4 --- /dev/null +++ b/scripts/ipythonx @@ -0,0 +1,11 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +"""IPythonX -- An enhanced Interactive Python + +This script starts the Wx graphical frontend. This is experimental so +far. +""" + +from IPython.frontend.wx import ipythonx + +ipythonx.main() diff --git a/setupbase.py b/setupbase.py index b40382e..b5529ca 100644 --- a/setupbase.py +++ b/setupbase.py @@ -107,10 +107,10 @@ def find_packages(): add_package(packages, 'external') add_package(packages, 'gui') add_package(packages, 'gui.wx') - add_package(packages, 'frontend') + add_package(packages, 'frontend', tests=True) add_package(packages, 'frontend._process') add_package(packages, 'frontend.wx') - add_package(packages, 'frontend.cocoa') + add_package(packages, 'frontend.cocoa', tests=True) add_package(packages, 'kernel', config=True, tests=True, scripts=True) add_package(packages, 'kernel.core', config=True, tests=True) add_package(packages, 'testing', tests=True) @@ -185,6 +185,7 @@ def find_scripts(): scripts.append('IPython/kernel/scripts/ipcontroller') scripts.append('IPython/kernel/scripts/ipcluster') scripts.append('scripts/ipython') + scripts.append('scripts/ipythonx') scripts.append('scripts/pycolor') scripts.append('scripts/irunner')