comparison 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
comparison
equal deleted inserted replaced
4070:d10748475025 4071:4b842c1fb686
20 from setuptools import setup, find_packages 20 from setuptools import setup, find_packages
21 import os 21 import os
22 22
23 NAME = "libervia-backend" 23 NAME = "libervia-backend"
24 # NOTE: directory is still "sat" for compatibility reason, should be changed for 0.9 24 # NOTE: directory is still "sat" for compatibility reason, should be changed for 0.9
25 DIR_NAME = "sat" 25 DIR_NAME = "libervia/backend"
26 26
27 install_requires = [ 27 install_requires = [
28 'babel < 3', 28 'babel < 3',
29 'dbus-python < 1.3', 29 'dbus-python < 1.3',
30 'html2text < 2020.2', 30 'html2text < 2020.2',
100 description="Libervia multipurpose and multi frontend XMPP client", 100 description="Libervia multipurpose and multi frontend XMPP client",
101 long_description="Libervia is a XMPP client based on a daemon/frontend " 101 long_description="Libervia is a XMPP client based on a daemon/frontend "
102 "architecture. It's multi frontend (desktop, web, console " 102 "architecture. It's multi frontend (desktop, web, console "
103 "interface, CLI, etc) and multipurpose (instant messaging, " 103 "interface, CLI, etc) and multipurpose (instant messaging, "
104 "microblogging, games, file sharing, etc).", 104 "microblogging, games, file sharing, etc).",
105 author="Association « Salut à Toi »", 105 author="Libervia dev team",
106 author_email="contact@goffi.org", 106 author_email="contact@goffi.org",
107 url="https://salut-a-toi.org", 107 url="https://libervia.org",
108 classifiers=[ 108 classifiers=[
109 "Programming Language :: Python :: 3 :: Only", 109 "Programming Language :: Python :: 3 :: Only",
110 "Programming Language :: Python :: 3.7", 110 "Programming Language :: Python :: 3.7",
111 "Programming Language :: Python :: 3.8", 111 "Programming Language :: Python :: 3.8",
112 "Programming Language :: Python :: 3.9", 112 "Programming Language :: Python :: 3.9",
118 "Operating System :: POSIX :: Linux", 118 "Operating System :: POSIX :: Linux",
119 "Topic :: Communications :: Chat" 119 "Topic :: Communications :: Chat"
120 ], 120 ],
121 packages=find_packages() + ["twisted.plugins"], 121 packages=find_packages() + ["twisted.plugins"],
122 data_files=[("share/locale/fr/LC_MESSAGES", 122 data_files=[("share/locale/fr/LC_MESSAGES",
123 ["i18n/fr/LC_MESSAGES/sat.mo"]), 123 ["i18n/fr/LC_MESSAGES/libervia_backend.mo"]),
124 (os.path.join("share/doc", NAME), 124 (os.path.join("share/doc", NAME),
125 ["CHANGELOG", "COPYING", "INSTALL", "README", "README4TRANSLATORS"]), 125 ["CHANGELOG", "COPYING", "INSTALL", "README", "README4TRANSLATORS"]),
126 (os.path.join("share", DBUS_DIR), [DBUS_FILE]), 126 (os.path.join("share", DBUS_DIR), [DBUS_FILE]),
127 ], 127 ],
128 entry_points={ 128 entry_points={
129 "console_scripts": [ 129 "console_scripts": [
130 # backend + alias 130 # backend + alias
131 "libervia-backend = sat.core.launcher:Launcher.run", 131 "libervia-backend = libervia.backend.core.launcher:Launcher.run",
132 "sat = sat.core.launcher:Launcher.run", 132 "sat = libervia.backend.core.launcher:Launcher.run",
133 133
134 # CLI + aliases 134 # CLI + aliases
135 "libervia-cli = sat_frontends.jp.base:LiberviaCli.run", 135 "libervia-cli = sat_frontends.jp.base:LiberviaCli.run",
136 "li = sat_frontends.jp.base:LiberviaCli.run", 136 "li = sat_frontends.jp.base:LiberviaCli.run",
137 "jp = sat_frontends.jp.base:LiberviaCli.run", 137 "jp = sat_frontends.jp.base:LiberviaCli.run",
144 zip_safe=False, 144 zip_safe=False,
145 setup_requires=["setuptools_scm"] if is_dev_version else [], 145 setup_requires=["setuptools_scm"] if is_dev_version else [],
146 use_scm_version=sat_dev_version if is_dev_version else False, 146 use_scm_version=sat_dev_version if is_dev_version else False,
147 install_requires=install_requires, 147 install_requires=install_requires,
148 extras_require=extras_require, 148 extras_require=extras_require,
149 package_data={"sat": ["VERSION", "memory/migration/alembic.ini"]}, 149 package_data={"libervia.backend": ["VERSION", "memory/migration/alembic.ini"]},
150 python_requires=">=3.7", 150 python_requires=">=3.7",
151 ) 151 )