diff options
author | PJ Eby <distutils-sig@python.org> | 2005-10-16 17:42:11 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2005-10-16 17:42:11 +0000 |
commit | 7a635d5195358704e12cc92d83a0b7b802e662da (patch) | |
tree | cee34b9a6a2e60362af7d6b7f976fa53b38c3946 /setuptools/command/easy_install.py | |
parent | 6a98cf8c7130e40dc89a483b24c0690d5e12a463 (diff) | |
download | external_python_setuptools-7a635d5195358704e12cc92d83a0b7b802e662da.tar.gz external_python_setuptools-7a635d5195358704e12cc92d83a0b7b802e662da.tar.bz2 external_python_setuptools-7a635d5195358704e12cc92d83a0b7b802e662da.zip |
Implement --no-deps option, add link to Ian Bicking's non-root Python
builder script.
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041260
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-x | setuptools/command/easy_install.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 302a28cf..b32be711 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -70,13 +70,13 @@ class easy_install(Command): ('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 @@ class easy_install(Command): 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 @@ class easy_install(Command): 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 |