diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2013-11-24 16:13:08 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-11-24 16:13:08 -0500 |
| commit | b14f0645fe1613c87dbb4e623b02f572d8af2c70 (patch) | |
| tree | 231a6e4edb2dd246acf23ba882e41eaf08169b45 /ez_setup.py | |
| parent | aa90fa16d02e956b87e0a892683f0ba2e9ecdc03 (diff) | |
| download | python-setuptools-git-b14f0645fe1613c87dbb4e623b02f572d8af2c70.tar.gz | |
Simplify _build_install_args now that Python 2.6 is required.
Diffstat (limited to 'ez_setup.py')
| -rw-r--r-- | ez_setup.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ez_setup.py b/ez_setup.py index 147ab14d..79e5c46a 100644 --- a/ez_setup.py +++ b/ez_setup.py @@ -336,13 +336,7 @@ def _build_install_args(options): """ Build the arguments to 'python setup.py install' on the setuptools package """ - install_args = [] - if options.user_install: - if sys.version_info < (2, 6): - log.warn("--user requires Python 2.6 or later") - raise SystemExit(1) - install_args.append('--user') - return install_args + return ['--user'] if options.user_install else [] def _parse_args(): """ |
