Skip to content

Commit

Permalink
fix stubgen
Browse files Browse the repository at this point in the history
  • Loading branch information
hiaselhans committed Nov 26, 2023
1 parent c12f060 commit e127915
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
7 changes: 2 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from setuptools.command.install import install


version = "0.2.5"
version = "0.2.6"

DEBUG = False
if "--debug" in sys.argv:
Expand Down Expand Up @@ -104,10 +104,7 @@ def build_extension(self, ext):
if not os.path.exists(self.build_lib):
stubgen_path = self.build_temp

try:
subprocess.check_call([sys.executable, 'stubs.py', stubgen_path])
except subprocess.CalledProcessError:
print("no mypy found")
subprocess.check_call([sys.executable, 'stubs.py', stubgen_path], shell=True)



Expand Down
2 changes: 1 addition & 1 deletion src/version.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#pragma once

namespace euklid {
const char* version = "0.2.5";
const char* version = "0.2.6";
}
1 change: 0 additions & 1 deletion stubs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import imp
from importlib.resources import path
import sys
import os
Expand Down

0 comments on commit e127915

Please sign in to comment.