Skip to content

Commit

Permalink
Fix installation issue with recent versions of setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
arcimboldo committed Jan 16, 2015
1 parent a52e5c7 commit f5c73d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@

from setuptools.command import sdist

del sdist.finders[:]
# Newer versions of setuptools do not have `finders` attribute.
if hasattr(sdist, 'finders'):
del sdist.finders[:]

ANSIBLE_PB_DIR = 'elasticluster/providers/ansible-playbooks'

Expand Down

0 comments on commit f5c73d2

Please sign in to comment.