diff --git a/docs/source/conf.py b/docs/source/conf.py index 9026b17..e363f04 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -6,23 +6,23 @@ # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information -project = 'learnware' -copyright = '2023, LAMDA Group' -author = 'LAMDA Group' -release = '0.1.0.99' +project = "learnware" +copyright = "2023, LAMDA Group" +author = "LAMDA Group" +release = "0.1.0.99" # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration extensions = [] -templates_path = ['_templates'] +templates_path = ["_templates"] exclude_patterns = [] -language = 'zh_CN' +language = "zh_CN" # -- Options for HTML output ------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output -html_theme = 'alabaster' -html_static_path = ['_static'] +html_theme = "alabaster" +html_static_path = ["_static"] diff --git a/examples/example1.py b/examples/example1.py new file mode 100644 index 0000000..e69de29 diff --git a/learnware/learnware/__init__.py b/learnware/learnware/__init__.py index 343b891..a5f7ee7 100644 --- a/learnware/learnware/__init__.py +++ b/learnware/learnware/__init__.py @@ -1 +1 @@ -__version__ = "0.0.1.99" \ No newline at end of file +__version__ = "0.0.1.99" diff --git a/setup.py b/setup.py index bc3053b..4c427ed 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,7 @@ import os from setuptools import find_packages, setup + def read(rel_path: str) -> str: here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, rel_path), encoding="utf-8") as fp: @@ -14,6 +15,7 @@ def get_version(rel_path: str) -> str: return line.split(delim)[1] raise RuntimeError("Unable to find version string.") + # Package meta-data. NAME = "learnware" DESCRIPTION = "learnware market project" @@ -39,7 +41,6 @@ with open(os.path.join(here, "README.md"), encoding="utf-8") as f: if __name__ == "__main__": - setup( name=NAME, version=VERSION,