1
0
mirror of https://github.com/enpaul/keyosk.git synced 2024-09-28 19:54:01 +00:00

Update about module to pull from pyproject

This commit is contained in:
Ethan Paul 2020-02-18 22:58:33 -05:00
parent c79112eb6a
commit 0516970935
2 changed files with 13 additions and 8 deletions

View File

@ -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
View File

@ -0,0 +1 @@
../pyproject.toml