changeset 39:d9dcc5a1503b

allow distutils packages as well as setuptools
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 09 Apr 2012 13:46:42 -0700
parents 99c610473c17
children 39fa450b21bd
files carton.py setup.py
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/carton.py	Mon Apr 09 13:44:16 2012 -0700
+++ b/carton.py	Mon Apr 09 13:46:42 2012 -0700
@@ -141,7 +141,6 @@
                 call([python, 'setup.py', 'develop'], cwd=subdir)
             except:
                 call([python, 'setup.py', 'install'], cwd=subdir)
-            # TODO: try `setup.py install` if develop fails for distutils packages
             setup_pys.add(i)
 
 # add virtualenv to the virtualenv (!)
--- a/setup.py	Mon Apr 09 13:44:16 2012 -0700
+++ b/setup.py	Mon Apr 09 13:46:42 2012 -0700
@@ -6,7 +6,7 @@
 except ImportError:
     description = None
 
-version = '0.2.2'
+version = '0.2.3'
 
 setup(name='carton',
       version=version,