Browse Source

[ENH] Add examples

tags/v0.3.2
毕晓栋 3 years ago
parent
commit
ae7a519ff5
4 changed files with 11 additions and 10 deletions
  1. +8
    -8
      docs/source/conf.py
  2. +0
    -0
      examples/example1.py
  3. +1
    -1
      learnware/learnware/__init__.py
  4. +2
    -1
      setup.py

+ 8
- 8
docs/source/conf.py View File

@@ -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"]

+ 0
- 0
examples/example1.py View File


+ 1
- 1
learnware/learnware/__init__.py View File

@@ -1 +1 @@
__version__ = "0.0.1.99"
__version__ = "0.0.1.99"

+ 2
- 1
setup.py View File

@@ -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,


Loading…
Cancel
Save