configured new requirements and script entry for project
This commit is contained in:
parent
0a26cc4d13
commit
96b611880c
|
@ -5,10 +5,18 @@ description = "Add your description here"
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Amy Gale Ruth Bowersox", email = "amy@erbosoft.com" }
|
{ 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"
|
readme = "README.md"
|
||||||
requires-python = ">= 3.8"
|
requires-python = ">= 3.8"
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
'dragonglass' = "dragonglass:main"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["hatchling"]
|
requires = ["hatchling"]
|
||||||
build-backend = "hatchling.build"
|
build-backend = "hatchling.build"
|
||||||
|
|
|
@ -10,3 +10,12 @@
|
||||||
# universal: false
|
# universal: false
|
||||||
|
|
||||||
-e file:.
|
-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
|
||||||
|
|
|
@ -10,3 +10,12 @@
|
||||||
# universal: false
|
# universal: false
|
||||||
|
|
||||||
-e file:.
|
-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
|
||||||
|
|
1
src/dragonglass/__init__.py
Normal file
1
src/dragonglass/__init__.py
Normal file
|
@ -0,0 +1 @@
|
||||||
|
from .dragonglass import main
|
4
src/dragonglass/__main__.py
Normal file
4
src/dragonglass/__main__.py
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
import sys
|
||||||
|
from dragonglass import main
|
||||||
|
|
||||||
|
sys.exit(main())
|
|
@ -73,7 +73,3 @@ def main():
|
||||||
print("------ END TEXT ------")
|
print("------ END TEXT ------")
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
sys.exit(main())
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user