[Python-checkins] python/nondist/sandbox/setuptools/setuptools/command easy_install.py, 1.31, 1.32

pje@users.sourceforge.net pje at users.sourceforge.net
Sun Oct 16 19:42:15 CEST 2005


Update of /cvsroot/python/python/nondist/sandbox/setuptools/setuptools/command
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15232/setuptools/command

Modified Files:
	easy_install.py 
Log Message:
Implement --no-deps option, add link to Ian Bicking's non-root Python
builder script.


Index: easy_install.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/setuptools/command/easy_install.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- easy_install.py	24 Sep 2005 20:29:57 -0000	1.31
+++ easy_install.py	16 Oct 2005 17:42:11 -0000	1.32
@@ -70,13 +70,13 @@
         ('always-unzip', 'Z', "don't install as a zipfile, no matter what"),
         ('site-dirs=','S',"list of directories where .pth files work"),
         ('editable', 'e', "Install specified packages in editable form"),
+        ('no-deps', 'N', "don't install dependencies"),
     ]
-
     boolean_options = [
         'zip-ok', 'multi-version', 'exclude-scripts', 'upgrade', 'always-copy',
         'delete-conflicting', 'ignore-conflicts-at-my-risk', 'editable',
+        'no-deps',
     ]
-
     negative_opt = {'always-unzip': 'zip-ok'}
     create_index = PackageIndex
 
@@ -89,7 +89,7 @@
         self.args = None
         self.optimize = self.record = None
         self.upgrade = self.always_copy = self.multi_version = None
-        self.editable = None
+        self.editable = self.no_deps = None
         self.root = None
 
         # Options not specifiable via command line
@@ -222,7 +222,7 @@
             for link in self.find_links:
                 self.package_index.scan_url(link)
             for spec in self.args:
-                self.easy_install(spec, True)
+                self.easy_install(spec, not self.no_deps)
             if self.record:
                 outputs = self.outputs
                 if self.root:               # strip any package prefix



More information about the Python-checkins mailing list