From d816e04b5ffd89daa0fea2f748d1158ca4ca2a6b Mon Sep 17 00:00:00 2001 From: Brian E Granger Date: Fri, 6 Jun 2008 16:59:25 -0600 Subject: [PATCH] More work fixing some small bugs in the setup.py infrastructure. It is almost working! --- setup.py | 3 +++ setupbase.py | 18 +++++++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/setup.py b/setup.py index b15fe4733..a1567d408 100755 --- a/setup.py +++ b/setup.py @@ -152,6 +152,9 @@ else: # Do the actual setup now #--------------------------------------------------------------------------- +print packages + + setup_args['packages'] = packages setup_args['package_data'] = package_data setup_args['scripts'] = scripts diff --git a/setupbase.py b/setupbase.py index 9378bf065..bb90de966 100644 --- a/setupbase.py +++ b/setupbase.py @@ -86,22 +86,22 @@ def add_package(packages, pname, config=False, tests=False, scripts=False, other """ Add a package to the list of packages, including certain subpackages. """ - packages.append('.'.join(['ipython1',pname])) + packages.append('.'.join(['IPython',pname])) if config: - packages.append('.'.join(['ipython1',pname,'config'])) + packages.append('.'.join(['IPython',pname,'config'])) if tests: - packages.append('.'.join(['ipython1',pname,'tests'])) + packages.append('.'.join(['IPython',pname,'tests'])) if scripts: - packages.append('.'.join(['ipython1',pname,'scripts'])) + packages.append('.'.join(['IPython',pname,'scripts'])) if others is not None: for o in others: - packages.append('.'.join(['ipython1',pname,o])) + packages.append('.'.join(['IPython',pname,o])) def find_packages(): """ Find all of IPython's packages. """ - packages = ['ipython'] + packages = ['IPython'] add_package(packages, 'config', tests=True) add_package(packages , 'Extensions') add_package(packages, 'external') @@ -175,9 +175,9 @@ def find_scripts(): Find IPython's scripts. """ scripts = [] - scripts.append('ipython1/kernel/scripts/ipengine') - scripts.append('ipython1/kernel/scripts/ipcontroller') - scripts.append('ipython1/kernel/scripts/ipcluster') + scripts.append('ipython/kernel/scripts/ipengine') + scripts.append('ipython/kernel/scripts/ipcontroller') + scripts.append('ipython/kernel/scripts/ipcluster') scripts.append('scripts/ipython') scripts.append('scripts/pycolor') scripts.append('scripts/irunner')