with open(readme, "r", encoding='utf-8-sig') as f: long_description = f.read() else: long_description = "" if os.path.exists(history): with open(history, "r", encoding='utf-8-sig') as f: long_description += f.read() if "--verbose" in sys.argv: verbose() if is_local(): import pyquickhelper logging_function = pyquickhelper.get_fLOG() logging_function(OutputPrint=True) must_build, run_build_ext = pyquickhelper.get_insetup_functions() if must_build(): out = run_build_ext(__file__) print(out) if "build_sphinx" in sys.argv and not sys.platform.startswith("win"): # There is an issue with matplotlib and notebook gallery on linux # _tkinter.TclError: no display name and no $DISPLAY environment variable import matplotlib matplotlib.use('agg') from pyquickhelper.pycode import process_standard_options_for_setup r = process_standard_options_for_setup( sys.argv, __file__,
with open(readme, "r", encoding='utf-8-sig') as f: long_description = f.read() else: long_description = "" if os.path.exists(history): with open(history, "r", encoding='utf-8-sig') as f: long_description += f.read() if "--verbose" in sys.argv: verbose() if is_local(): from pyquickhelper import get_fLOG, get_insetup_functions logging_function = get_fLOG() logging_function(OutputPrint=True) must_build, run_build_ext = get_insetup_functions() if must_build(): out = run_build_ext(__file__) print(out) from pyquickhelper.pycode import process_standard_options_for_setup r = process_standard_options_for_setup( sys.argv, __file__, project_var_name, extra_ext=["cs"], add_htmlhelp=sys.platform.startswith("win"), coverage_options=dict(omit=["*exclude*.py"]), github_owner=project_owner, fLOG=logging_function,
def test_insetup(self): fLOG(__file__, self._testMethodName, OutputPrint=__name__ == "__main__") get_insetup_functions()
def test_insetup(self): fLOG( __file__, self._testMethodName, OutputPrint=__name__ == "__main__") get_insetup_functions()