summaryrefslogtreecommitdiff
path: root/setuptools/command/bdist_rpm.py
blob: 004419cedb5b698b565961f4b2e6f3cd9484b403 (plain)
1
2
3
4
5
6
7
8
9
10
11
# This is just a kludge so that bdist_rpm doesn't guess wrong about the
# distribution name and version, if the egg_info command is going to alter them

from distutils.command.bdist_rpm import bdist_rpm as _bdist_rpm

class bdist_rpm(_bdist_rpm):

    def run(self):
        self.run_command('egg_info')    # ensure distro name is up-to-date
        _bdist_rpm.run(self)