From 72c0d33f146bb7f40f70868f055851ba037837ab Mon Sep 17 00:00:00 2001 From: Pearu Peterson Date: Fri, 19 May 2006 06:35:03 +0000 Subject: Add comment. --- numpy/distutils/command/bdist_rpm.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'numpy/distutils/command') 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 -- cgit v1.2.1