mirror of
https://github.com/yawaflua/Py-SPW.git
synced 2025-12-10 12:29:30 +02:00
fix pyspw import in conf.py
This commit is contained in:
@@ -8,7 +8,7 @@ import sys
|
|||||||
|
|
||||||
sys.path.insert(0, os.path.abspath('../..'))
|
sys.path.insert(0, os.path.abspath('../..'))
|
||||||
|
|
||||||
import pyspw
|
exec(sorted([el if el.startswith('__version__') else 'Z' for el in open('../../pyspw/__init__.py', 'r').read().split('\n')], reverse=True)[0])
|
||||||
|
|
||||||
# -- Project information -----------------------------------------------------
|
# -- Project information -----------------------------------------------------
|
||||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
||||||
@@ -16,7 +16,7 @@ import pyspw
|
|||||||
project = 'Py-SPW'
|
project = 'Py-SPW'
|
||||||
copyright = '2023, Teleport'
|
copyright = '2023, Teleport'
|
||||||
author = 'Teleport'
|
author = 'Teleport'
|
||||||
release = pyspw.__version__
|
release = __version__
|
||||||
|
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user