Skip to content
Snippets Groups Projects
Commit a7b66dea authored by Dominique Benielli's avatar Dominique Benielli
Browse files

Edit setup.py

parent 84079c04
No related branches found
No related tags found
1 merge request!23.7 to 3.10 compatibility
Pipeline #16135 failed
......@@ -188,18 +188,17 @@ def run_uninstall(root_dir):
#########################
# Custom 'build_ext' command
#########################
"""class m_build_ext(build_ext):
""" # Custom build_ext command
"""
def run(self):
root_dir = os.path.dirname(os.path.abspath(__file__))
cur_dir = os.getcwd()
run_cmake(root_dir)
run_make(root_dir)
run_make_install(root_dir)
os.chdir(cur_dir)
build_ext.run(self)
"""
# class m_build_ext(build_ext):
# """ Custom build_ext command """
# def run(self):
# root_dir = os.path.dirname(os.path.abspath(__file__))
# cur_dir = os.getcwd()
# run_cmake(root_dir)
# run_make(root_dir)
# run_make_install(root_dir)
# os.chdir(cur_dir)
# build_ext.run(self)
class m_build_ext(build_ext):
def run(self):
for dirpath, dirnames, filenames in os.walk('.'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment