mirror of
https://github.com/enpaul/keyosk.git
synced 2024-11-21 22:17:02 +00:00
Update about module to pull from pyproject
This commit is contained in:
parent
c79112eb6a
commit
0516970935
@ -1,8 +1,12 @@
|
|||||||
# pylint: disable=missing-docstring
|
"""Access package info programatically without duplication"""
|
||||||
__title__ = "front-desk"
|
import importlib.resources
|
||||||
__version__ = "0.1.0"
|
|
||||||
__summary__ = "Web application for managing JSON Web Tokens"
|
import toml
|
||||||
__author__ = "Ethan Paul"
|
|
||||||
__author_email__ = "e@enp.one"
|
PYPROJECT = toml.loads(importlib.resources.read_text("keyosk", "pyproject.toml"))
|
||||||
__url__ = "http://github.com/enpaul/front-desk"
|
|
||||||
__license__ = "MIT"
|
__authors__ = PYPROJECT["tool"]["poetry"]["authors"]
|
||||||
|
__summary__ = PYPROJECT["tool"]["poetry"]["description"]
|
||||||
|
__title__ = PYPROJECT["tool"]["poetry"]["name"]
|
||||||
|
__url__ = PYPROJECT["tool"]["poetry"]["repository"]
|
||||||
|
__version__ = PYPROJECT["tool"]["poetry"]["version"]
|
||||||
|
1
keyosk/pyproject.toml
Symbolic link
1
keyosk/pyproject.toml
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../pyproject.toml
|
Loading…
Reference in New Issue
Block a user