Fix folder name
This commit is contained in:
parent
b347acbfd1
commit
997726d4a0
|
@ -1,42 +0,0 @@
|
||||||
[build-system]
|
|
||||||
requires = ["hatchling"]
|
|
||||||
build-backend = "hatchling.build"
|
|
||||||
|
|
||||||
[project]
|
|
||||||
name = "{{ cookiecutter.project_slug }}"
|
|
||||||
version = "{{ cookiecutter.version }}"
|
|
||||||
authors = [
|
|
||||||
{ name="{{ cookiecutter.full_name }}", email="{{ cookiecutter.email }}" },
|
|
||||||
]
|
|
||||||
description = "{{ cookiecutter.project_short_description }}"
|
|
||||||
readme = "README.md"
|
|
||||||
|
|
||||||
requires-python = ">={{ cookiecutter.python_min_version }}"
|
|
||||||
dependencies = []
|
|
||||||
|
|
||||||
[project.urls]
|
|
||||||
"Homepage" = "{{ cookiecutter.project_url }}"
|
|
||||||
"Bug Tracker" = "{{ cookiecutter.project_url }}/issues"
|
|
||||||
[histausse@grace-hopper {{ cookiecutter.project_name }}]$ cat ../../pyproject.toml
|
|
||||||
[build-system]
|
|
||||||
requires = ["hatchling"]
|
|
||||||
build-backend = "hatchling.build"
|
|
||||||
|
|
||||||
[project]
|
|
||||||
name = "{{ cookiecutter.project_slug }}"
|
|
||||||
version = "{{ cookiecutter.version }}"
|
|
||||||
authors = [
|
|
||||||
{ name="{{ cookiecutter.full_name }}", email="{{ cookiecutter.email }}" },
|
|
||||||
]
|
|
||||||
description = "{{ cookiecutter.project_short_description }}"
|
|
||||||
readme = "README.md"
|
|
||||||
|
|
||||||
requires-python = ">={{ cookiecutter.python_min_version }}"
|
|
||||||
dependencies = []
|
|
||||||
|
|
||||||
[project.urls]
|
|
||||||
"Homepage" = "{{ cookiecutter.project_url }}"
|
|
||||||
"Bug Tracker" = "{{ cookiecutter.project_url }}/issues"
|
|
||||||
|
|
||||||
[project.scripts]
|
|
||||||
analyse_artifact = "{{ cookiecutter.project_slug }}.cli:main"
|
|
22
{{ cookiecutter.project_slug }}/pyproject.toml
Normal file
22
{{ cookiecutter.project_slug }}/pyproject.toml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
[build-system]
|
||||||
|
requires = ["hatchling"]
|
||||||
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "{{ cookiecutter.project_slug }}"
|
||||||
|
version = "{{ cookiecutter.version }}"
|
||||||
|
authors = [
|
||||||
|
{ name="{{ cookiecutter.full_name }}", email="{{ cookiecutter.email }}" },
|
||||||
|
]
|
||||||
|
description = "{{ cookiecutter.project_short_description }}"
|
||||||
|
readme = "README.md"
|
||||||
|
|
||||||
|
requires-python = ">={{ cookiecutter.python_min_version }}"
|
||||||
|
dependencies = []
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
"Homepage" = "{{ cookiecutter.project_url }}"
|
||||||
|
"Bug Tracker" = "{{ cookiecutter.project_url }}/issues"
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
analyse_artifact = "{{ cookiecutter.project_slug }}.cli:main"
|
|
@ -0,0 +1,3 @@
|
||||||
|
__author__ = """{{ cookiecutter.full_name }}"""
|
||||||
|
__email__ = '{{ cookiecutter.email }}'
|
||||||
|
__version__ = '{{ cookiecutter.version }}'
|
|
@ -0,0 +1,9 @@
|
||||||
|
import argparse
|
||||||
|
|
||||||
|
def main():
|
||||||
|
""" Console entrypoint for {{cookiecutter.project_slug}}."""
|
||||||
|
parser = argparse.ArgumentParser()
|
||||||
|
parser.add_argument('_', nargs='*')
|
||||||
|
args = parser.parse_args()
|
||||||
|
print("Hello word!")
|
||||||
|
|
Loading…
Reference in a new issue