Skip to content

Commit

Permalink
use shell in setup.py stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
hiaselhans committed Nov 26, 2023
1 parent cc49d11 commit 5f2c089
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 @@ -76,9 +76,7 @@ def build_extension(self, ext):
if not os.path.exists(self.build_lib):
stubgen_path = self.build_temp

subprocess.check_call(["python", 'stubs.py', stubgen_path])

shutil.copytree("pyfoil", stubgen_path+"/pyfoil")
subprocess.check_call([sys.executable, 'stubs.py', stubgen_path], shell=True)

version = "0.1.6"

Expand Down

0 comments on commit 5f2c089

Please sign in to comment.