diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2021-09-21 14:23:22 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2021-09-21 14:23:22 -0400 |
| commit | fbbc98f569c135add8f95a5a1e2f8f6b7ad53750 (patch) | |
| tree | ddd9c1e50dc674343d4beceaa32bc6f7190428a8 /distutils/command | |
| parent | 87c3a984741ab91023a86be28f7145fbf4901862 (diff) | |
| download | python-setuptools-git-fbbc98f569c135add8f95a5a1e2f8f6b7ad53750.tar.gz | |
Remove is_rpm_build, unneeded.
Diffstat (limited to 'distutils/command')
| -rw-r--r-- | distutils/command/install.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/distutils/command/install.py b/distutils/command/install.py index 80165778..15c21df5 100644 --- a/distutils/command/install.py +++ b/distutils/command/install.py @@ -431,11 +431,7 @@ class install(Command): 'VIRTUAL_ENV' in os.environ ) - # fedora: - def is_rpm_build(): - return 'RPM_BUILD_ROOT' in os.environ - - if not is_virtualenv() and not is_rpm_build(): + if not is_virtualenv(): INSTALL_SCHEMES['unix_prefix'] = INSTALL_SCHEMES['unix_local'] # debian: |
