configured new requirements and script entry for project

This commit is contained in:
Amy G. Bowersox 2024-07-26 23:39:52 -06:00
parent 0a26cc4d13
commit 96b611880c
6 changed files with 32 additions and 5 deletions

View File

@ -5,10 +5,18 @@ description = "Add your description here"
authors = [
{ name = "Amy Gale Ruth Bowersox", email = "amy@erbosoft.com" }
]
dependencies = []
dependencies = [
"jinja2~=3.1.4",
"markdown~=3.6",
"markupsafe~=2.1.5",
"pyyaml~=6.0.1",
]
readme = "README.md"
requires-python = ">= 3.8"
[project.scripts]
'dragonglass' = "dragonglass:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

View File

@ -10,3 +10,12 @@
# universal: false
-e file:.
jinja2==3.1.4
# via dragonglass
markdown==3.6
# via dragonglass
markupsafe==2.1.5
# via dragonglass
# via jinja2
pyyaml==6.0.1
# via dragonglass

View File

@ -10,3 +10,12 @@
# universal: false
-e file:.
jinja2==3.1.4
# via dragonglass
markdown==3.6
# via dragonglass
markupsafe==2.1.5
# via dragonglass
# via jinja2
pyyaml==6.0.1
# via dragonglass

View File

@ -0,0 +1 @@
from .dragonglass import main

View File

@ -0,0 +1,4 @@
import sys
from dragonglass import main
sys.exit(main())

View File

@ -73,7 +73,3 @@ def main():
print("------ END TEXT ------")
return 0
if __name__ == '__main__':
sys.exit(main())