Skip to content

Commit

Permalink
Don't make parsetable generation conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
drawks committed Jan 3, 2020
1 parent 35f9f6a commit 3087c6f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions setup.py
Expand Up @@ -36,12 +36,7 @@ def _pre_install():

class build_py(_build_py):
def run(self):
try:
import ply
except ImportError:
print("skipping parse table")
else:
self.execute(_pre_install, (), msg="generating parse table...")
self.execute(_pre_install, (), msg="generating parse table...")
_build_py.run(self)


Expand Down

0 comments on commit 3087c6f

Please sign in to comment.