Skip to content
Snippets Groups Projects

3.7 to 3.10 compatibility

Merged Valentin Emiya requested to merge ci39 into master
1 file
+ 11
12
Compare changes
  • Side-by-side
  • Inline
+ 11
12
@@ -188,18 +188,17 @@ def run_uninstall(root_dir):
@@ -188,18 +188,17 @@ def run_uninstall(root_dir):
#########################
#########################
# Custom 'build_ext' command
# Custom 'build_ext' command
#########################
#########################
"""class m_build_ext(build_ext):
# class m_build_ext(build_ext):
""" # Custom build_ext command
# """ Custom build_ext command """
"""
# def run(self):
def run(self):
# root_dir = os.path.dirname(os.path.abspath(__file__))
root_dir = os.path.dirname(os.path.abspath(__file__))
# cur_dir = os.getcwd()
cur_dir = os.getcwd()
# run_cmake(root_dir)
run_cmake(root_dir)
# run_make(root_dir)
run_make(root_dir)
# run_make_install(root_dir)
run_make_install(root_dir)
# os.chdir(cur_dir)
os.chdir(cur_dir)
# build_ext.run(self)
build_ext.run(self)
"""
class m_build_ext(build_ext):
class m_build_ext(build_ext):
def run(self):
def run(self):
for dirpath, dirnames, filenames in os.walk('.'):
for dirpath, dirnames, filenames in os.walk('.'):
Loading