feat: initial commit
This commit is contained in:
parent
3dac461272
commit
ebaa870342
2
$REPO_DESCRIPTION_SNAKE/__about__.py
Normal file
2
$REPO_DESCRIPTION_SNAKE/__about__.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
__version__ = "0.0.0"
|
||||||
|
__name__ = "$REPO_DESCRIPTION_SNAKE"
|
0
$REPO_DESCRIPTION_SNAKE/__init__.py
Normal file
0
$REPO_DESCRIPTION_SNAKE/__init__.py
Normal file
5
$REPO_DESCRIPTION_SNAKE/__main__.py
Normal file
5
$REPO_DESCRIPTION_SNAKE/__main__.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
from .__about__ import __version__
|
||||||
|
|
||||||
|
|
||||||
|
def cli():
|
||||||
|
print("Hello, world!")
|
@ -1,3 +1,3 @@
|
|||||||
# python-project
|
# $REPO_NAME_TITLE
|
||||||
|
|
||||||
A template for a python project
|
$REPO_DESCRIPTION
|
35
pyproject.toml
Normal file
35
pyproject.toml
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
[project]
|
||||||
|
name = "$REPO_NAME"
|
||||||
|
dependencies = []
|
||||||
|
dynamic = ["version"]
|
||||||
|
authors = []
|
||||||
|
description = "$REPO_DESCRIPTION"
|
||||||
|
readme = "README.md"
|
||||||
|
requires-python = ">=3.8"
|
||||||
|
classifiers = [
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"License :: OSI Approved :: MIT License",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
$REPO_DESCRIPTION_KEBAB = "$REPO_DESCRIPTION_SNAKE.__main__:cli"
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["hatchling", "hatch-requirements-txt"]
|
||||||
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
|
[tool.hatch.build]
|
||||||
|
directory = "dist"
|
||||||
|
|
||||||
|
[tool.hatch.build.targets.sdist]
|
||||||
|
include = ["$REPO_DESCRIPTION_SNAKE/*.py"]
|
||||||
|
|
||||||
|
[tool.hatch.build.targets.wheel]
|
||||||
|
packages = ["$REPO_DESCRIPTION_SNAKE"]
|
||||||
|
|
||||||
|
[tool.hatch.metadata]
|
||||||
|
allow-direct-references = true
|
||||||
|
|
||||||
|
[tool.hatch.version]
|
||||||
|
path = "$REPO_DESCRIPTION_SNAKE/__about__.py"
|
Loading…
Reference in New Issue
Block a user