diff setup.py @ 3481:7892585b7e17

core (setup), jp, primitivus: update console scripts + classifiers: - console scripts have been updated following the renaming with: - "libervia-cli" and "libervia-tui" for "jp" and "primitivus" - "li" alias as a shortcut for libervia-cli - "jp" and "primitivus" are kept as alias - updated classifiers to reflect Python 3.9 support
author Goffi <goffi@goffi.org>
date Sat, 20 Mar 2021 20:42:07 +0100
parents 7550ae9cfbac
children f9a5b810f14d bb87ddfdde58
line wrap: on
line diff
--- a/setup.py	Sat Mar 20 20:42:04 2021 +0100
+++ b/setup.py	Sat Mar 20 20:42:07 2021 +0100
@@ -84,9 +84,9 @@
 setup(
     name=NAME,
     version=VERSION,
-    description="Salut à Toi multipurpose and multi frontend XMPP client",
-    long_description="Salut à Toi (SàT) is a XMPP client based on a daemon/frontend "
-                     "architecture. Its multi frontend (desktop, web, console "
+    description="Libervia multipurpose and multi frontend XMPP client",
+    long_description="Libervia is a XMPP client based on a daemon/frontend "
+                     "architecture. It's multi frontend (desktop, web, console "
                      "interface, CLI, etc) and multipurpose (instant messaging, "
                      "microblogging, games, file sharing, etc).",
     author="Association « Salut à Toi »",
@@ -96,6 +96,7 @@
         "Programming Language :: Python :: 3 :: Only",
         "Programming Language :: Python :: 3.7",
         "Programming Language :: Python :: 3.8",
+        "Programming Language :: Python :: 3.9",
         "Development Status :: 5 - Production/Stable",
         "Environment :: Console",
         "Framework :: Twisted",
@@ -113,10 +114,20 @@
                 ],
     entry_points={
         "console_scripts": [
+            # backend + alias
+            "libervia-backend = sat.core.launcher:Launcher.run",
             "sat = sat.core.launcher:Launcher.run",
+
+            # CLI + aliases
+            "libervia-cli = sat_frontends.jp.base:LiberviaCli.run",
+            "li = sat_frontends.jp.base:LiberviaCli.run",
+            "jp = sat_frontends.jp.base:LiberviaCli.run",
+
+            # TUI + alias
+            "libervia-tui = sat_frontends.primitivus.base:PrimitivusApp.run",
+            "primitivus = sat_frontends.primitivus.base:PrimitivusApp.run",
             ],
         },
-    scripts=["sat_frontends/jp/jp", "sat_frontends/primitivus/primitivus"],
     zip_safe=False,
     setup_requires=["setuptools_scm"] if is_dev_version else [],
     use_scm_version=sat_dev_version if is_dev_version else False,