mirror of
https://github.com/enpaul/keyosk.git
synced 2024-11-04 21:57: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
|
||||
__title__ = "front-desk"
|
||||
__version__ = "0.1.0"
|
||||
__summary__ = "Web application for managing JSON Web Tokens"
|
||||
__author__ = "Ethan Paul"
|
||||
__author_email__ = "e@enp.one"
|
||||
__url__ = "http://github.com/enpaul/front-desk"
|
||||
__license__ = "MIT"
|
||||
"""Access package info programatically without duplication"""
|
||||
import importlib.resources
|
||||
|
||||
import toml
|
||||
|
||||
PYPROJECT = toml.loads(importlib.resources.read_text("keyosk", "pyproject.toml"))
|
||||
|
||||
__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