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 | 04c8010e31148f1d145ba6f74d66f2473ab8d81b (patch) | |
tree | cee34b9a6a2e60362af7d6b7f976fa53b38c3946 /setuptools/command/easy_install.py | |
parent | a3e574820cc2e21ad5b4cc5878e6f433b7db6ca8 (diff) | |
download | python-setuptools-bitbucket-04c8010e31148f1d145ba6f74d66f2473ab8d81b.tar.gz |
Implement --no-deps option, add link to Ian Bicking's non-root Python
builder script.
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 |