Skip to content

Commit

Permalink
Re python-diamond#449, this removes the special case logic for buildi…
Browse files Browse the repository at this point in the history
…ng rpms from setup.py. It is no longer needed as we have it overridden in setup.cfg.
  • Loading branch information
kormoc committed May 3, 2014
1 parent 5cc33d4 commit 11e248c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ def running_under_virtualenv():
if running_under_virtualenv():
install_requires = ['ConfigObj', 'psutil', ]
else:
if distro in ['centos', 'redhat']:
install_requires = ['python-configobj', 'psutil', ]
elif distro == ['debian', 'ubuntu']:
if distro == ['debian', 'ubuntu']:
install_requires = ['python-configobj', 'python-psutil', ]
# Default back to pip style requires
else:
Expand Down

0 comments on commit 11e248c

Please sign in to comment.