Skip to content

Commit

Permalink
Added an entry point script.
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahGale committed Aug 16, 2024
1 parent 6b7e05e commit 65667a0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# reference: <https://packaging.python.org/en/latest/guides/writing-pyproject-toml/>
[project]
name = "acme_corp"
description = "A package, or box, created by the Acme Corporation for all of your Road Runner hunting needs."
# use semantic versioning: <https://semver.org/>
version = "0.0.1"

readme = "README.md"
requires-python = ">=3.9"
Expand All @@ -9,17 +12,23 @@ authors = [{name = "G. C. Runner", email = "[email protected]"}]

keywords = ["Piano", "Anvil", "Instant Tunnel"]

# these will be install with `pip install .`
dependencies = ["pyyaml"]

# these will only be installed with `pip install .[test]`
[project.optional-dependencies]
test =["pytest"]

[project.scripts]
do_thing = "acme_corp:do_task.do_task"

# these show up on the left bar on pypi.org
[project.urls]
Homepage = "https://github.com/cnerg/py-template"

[build-system]
requires = ["setuptools>=64.0.0"]
build-backend = "setuptoos.build_meta"
build-backend = "setuptools.build_meta"

[tools.pytest.ini_options]
minversion = "6.0"
Expand Down

0 comments on commit 65667a0

Please sign in to comment.