Skip to content

Commit

Permalink
setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ncullen93 committed Sep 21, 2017
1 parent 7962ab4 commit bbce94a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def run(self):
class build_py(setuptools.command.build_py.build_py):

def run(self):
self.run_command("build_ext")
self.create_version_file()
setuptools.command.build_py.build_py.run(self)

Expand All @@ -44,7 +45,7 @@ def create_version_file():

class BuildExtFirst(setuptools.command.install.install):
def run(self):
self.run_command("build_ext")
self.run_command("build_py")
return setuptools.command.install.install.run(self)


Expand Down

0 comments on commit bbce94a

Please sign in to comment.