summaryrefslogtreecommitdiffstats
path: root/tests/samples/entrypoints_conflict/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/samples/entrypoints_conflict/pyproject.toml')
-rw-r--r--tests/samples/entrypoints_conflict/pyproject.toml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/samples/entrypoints_conflict/pyproject.toml b/tests/samples/entrypoints_conflict/pyproject.toml
new file mode 100644
index 0000000..506a4eb
--- /dev/null
+++ b/tests/samples/entrypoints_conflict/pyproject.toml
@@ -0,0 +1,16 @@
+[build-system]
+requires = ["flit_core >=2,<4"]
+build-backend = "flit_core.buildapi"
+
+[tool.flit.metadata]
+module = "package1"
+author = "Sir Robin"
+author-email = "robin@camelot.uk"
+home-page = "http://github.com/sirrobin/package1"
+
+# The sections below conflict
+[tool.flit.scripts]
+pkg_script = "package1:main"
+
+[tool.flit.entrypoints.console_scripts]
+foo = "bar:baz"