diff setup.py @ 4071:4b842c1fb686

refactoring: renamed `sat` package to `libervia.backend`
author Goffi <goffi@goffi.org>
date Fri, 02 Jun 2023 11:49:51 +0200
parents 9089cf6c9684
children 26b7ed2817da
line wrap: on
line diff
--- a/setup.py	Thu Jun 01 21:37:34 2023 +0200
+++ b/setup.py	Fri Jun 02 11:49:51 2023 +0200
@@ -22,7 +22,7 @@
 
 NAME = "libervia-backend"
 # NOTE: directory is still "sat" for compatibility reason, should be changed for 0.9
-DIR_NAME = "sat"
+DIR_NAME = "libervia/backend"
 
 install_requires = [
     'babel < 3',
@@ -102,9 +102,9 @@
                      "architecture. It's multi frontend (desktop, web, console "
                      "interface, CLI, etc) and multipurpose (instant messaging, "
                      "microblogging, games, file sharing, etc).",
-    author="Association « Salut à Toi »",
+    author="Libervia dev team",
     author_email="contact@goffi.org",
-    url="https://salut-a-toi.org",
+    url="https://libervia.org",
     classifiers=[
         "Programming Language :: Python :: 3 :: Only",
         "Programming Language :: Python :: 3.7",
@@ -120,7 +120,7 @@
     ],
     packages=find_packages() + ["twisted.plugins"],
     data_files=[("share/locale/fr/LC_MESSAGES",
-                 ["i18n/fr/LC_MESSAGES/sat.mo"]),
+                 ["i18n/fr/LC_MESSAGES/libervia_backend.mo"]),
                 (os.path.join("share/doc", NAME),
                  ["CHANGELOG", "COPYING", "INSTALL", "README", "README4TRANSLATORS"]),
                 (os.path.join("share", DBUS_DIR), [DBUS_FILE]),
@@ -128,8 +128,8 @@
     entry_points={
         "console_scripts": [
             # backend + alias
-            "libervia-backend = sat.core.launcher:Launcher.run",
-            "sat = sat.core.launcher:Launcher.run",
+            "libervia-backend = libervia.backend.core.launcher:Launcher.run",
+            "sat = libervia.backend.core.launcher:Launcher.run",
 
             # CLI + aliases
             "libervia-cli = sat_frontends.jp.base:LiberviaCli.run",
@@ -146,6 +146,6 @@
     use_scm_version=sat_dev_version if is_dev_version else False,
     install_requires=install_requires,
     extras_require=extras_require,
-    package_data={"sat": ["VERSION", "memory/migration/alembic.ini"]},
+    package_data={"libervia.backend": ["VERSION", "memory/migration/alembic.ini"]},
     python_requires=">=3.7",
 )