Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorPyfisch <pyfisch@posteo.org>2021-04-05 16:21:12 +0200
committerPyfisch <pyfisch@posteo.org>2021-04-05 16:21:12 +0200
commitecf7a2a237a04882c93fd4d743b037f7af6bc253 (patch)
tree002ee419eb4e3bc1b3fd4c9233f3d8865d3b1331 /setup.cfg
parent7f691ce1c992c16551459162fbef593daad1e4c8 (diff)
Add console_scripts archinstall entry point
archinstall should be callable from the command-line. Previously this was achieved with a shell script, however Python packages contain a built in way to to this via the entry points mechanism.
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index ccbddf8a..3190791e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -33,3 +33,7 @@ archinstall =
examples/*.py
profiles/*.py
profiles/applications/*.py
+
+[options.entry_points]
+console_scripts =
+ archinstall = archinstall:run_as_a_module