diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2006-05-19 06:35:03 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2006-05-19 06:35:03 +0000 |
commit | 72c0d33f146bb7f40f70868f055851ba037837ab (patch) | |
tree | 721057e6c771d61cc72f25628ef6c0a8c0af092a /numpy/distutils/command/bdist_rpm.py | |
parent | 4e6f53af6e8fe821b43490347751dce05a911fda (diff) | |
download | numpy-72c0d33f146bb7f40f70868f055851ba037837ab.tar.gz |
Add comment.
Diffstat (limited to 'numpy/distutils/command/bdist_rpm.py')
-rw-r--r-- | numpy/distutils/command/bdist_rpm.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/distutils/command/bdist_rpm.py b/numpy/distutils/command/bdist_rpm.py index 8fd149ab0..593dfe878 100644 --- a/numpy/distutils/command/bdist_rpm.py +++ b/numpy/distutils/command/bdist_rpm.py @@ -6,6 +6,9 @@ class bdist_rpm(old_bdist_rpm): def _make_spec_file(self): spec_file = old_bdist_rpm._make_spec_file(self) + + # Replace hardcoded setup.py script name + # with the real setup script name. setup_py = os.path.basename(sys.argv[0]) if setup_py == 'setup.py': return spec_file |