def run(self): _develop.run(self) sherpa_config = self.get_finalized_command('sherpa_config', True) self.announce("install stk and group extensions locally") if not sherpa_config.disable_stk: shutil.copyfile(sherpa_config.stk_location, os.path.join(os.getcwd(), 'stk.so')) if not sherpa_config.disable_group: shutil.copyfile(sherpa_config.group_location, os.path.join(os.getcwd(), 'group.so'))
def run(self): _develop.run(self) sherpa_config = self.get_finalized_command('sherpa_config', True) self.announce("install stk and group extensions locally") shutil.copyfile(sherpa_config.stk_location, os.path.join(os.getcwd(), 'stk.so')) shutil.copyfile(sherpa_config.group_location, os.path.join(os.getcwd(), 'group.so'))
def run(self): """Build the Fortran library, all python extensions and the docs.""" print('---- CUSTOM DEVELOP ----') _develop.run(self) # build documentation print('---- BUILDING DOCS ----') docdir = os.path.join(self.setup_path, 'pyshtools', 'doc') self.mkpath(docdir) doc_builder = os.path.join(self.setup_path, 'pyshtools', 'make_docs.py') doc_source = '.' check_call([sys.executable, doc_builder, doc_source, self.setup_path]) print('---- ALL DONE ----')