Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
3480:7550ae9cfbac | 3481:7892585b7e17 |
---|---|
82 | 82 |
83 | 83 |
84 setup( | 84 setup( |
85 name=NAME, | 85 name=NAME, |
86 version=VERSION, | 86 version=VERSION, |
87 description="Salut à Toi multipurpose and multi frontend XMPP client", | 87 description="Libervia multipurpose and multi frontend XMPP client", |
88 long_description="Salut à Toi (SàT) is a XMPP client based on a daemon/frontend " | 88 long_description="Libervia is a XMPP client based on a daemon/frontend " |
89 "architecture. Its multi frontend (desktop, web, console " | 89 "architecture. It's multi frontend (desktop, web, console " |
90 "interface, CLI, etc) and multipurpose (instant messaging, " | 90 "interface, CLI, etc) and multipurpose (instant messaging, " |
91 "microblogging, games, file sharing, etc).", | 91 "microblogging, games, file sharing, etc).", |
92 author="Association « Salut à Toi »", | 92 author="Association « Salut à Toi »", |
93 author_email="contact@goffi.org", | 93 author_email="contact@goffi.org", |
94 url="https://salut-a-toi.org", | 94 url="https://salut-a-toi.org", |
95 classifiers=[ | 95 classifiers=[ |
96 "Programming Language :: Python :: 3 :: Only", | 96 "Programming Language :: Python :: 3 :: Only", |
97 "Programming Language :: Python :: 3.7", | 97 "Programming Language :: Python :: 3.7", |
98 "Programming Language :: Python :: 3.8", | 98 "Programming Language :: Python :: 3.8", |
99 "Programming Language :: Python :: 3.9", | |
99 "Development Status :: 5 - Production/Stable", | 100 "Development Status :: 5 - Production/Stable", |
100 "Environment :: Console", | 101 "Environment :: Console", |
101 "Framework :: Twisted", | 102 "Framework :: Twisted", |
102 "License :: OSI Approved :: GNU Affero General Public License v3 " | 103 "License :: OSI Approved :: GNU Affero General Public License v3 " |
103 "or later (AGPLv3+)", | 104 "or later (AGPLv3+)", |
111 ["CHANGELOG", "COPYING", "INSTALL", "README", "README4TRANSLATORS"]), | 112 ["CHANGELOG", "COPYING", "INSTALL", "README", "README4TRANSLATORS"]), |
112 (os.path.join("share", DBUS_DIR), [DBUS_FILE]), | 113 (os.path.join("share", DBUS_DIR), [DBUS_FILE]), |
113 ], | 114 ], |
114 entry_points={ | 115 entry_points={ |
115 "console_scripts": [ | 116 "console_scripts": [ |
117 # backend + alias | |
118 "libervia-backend = sat.core.launcher:Launcher.run", | |
116 "sat = sat.core.launcher:Launcher.run", | 119 "sat = sat.core.launcher:Launcher.run", |
120 | |
121 # CLI + aliases | |
122 "libervia-cli = sat_frontends.jp.base:LiberviaCli.run", | |
123 "li = sat_frontends.jp.base:LiberviaCli.run", | |
124 "jp = sat_frontends.jp.base:LiberviaCli.run", | |
125 | |
126 # TUI + alias | |
127 "libervia-tui = sat_frontends.primitivus.base:PrimitivusApp.run", | |
128 "primitivus = sat_frontends.primitivus.base:PrimitivusApp.run", | |
117 ], | 129 ], |
118 }, | 130 }, |
119 scripts=["sat_frontends/jp/jp", "sat_frontends/primitivus/primitivus"], | |
120 zip_safe=False, | 131 zip_safe=False, |
121 setup_requires=["setuptools_scm"] if is_dev_version else [], | 132 setup_requires=["setuptools_scm"] if is_dev_version else [], |
122 use_scm_version=sat_dev_version if is_dev_version else False, | 133 use_scm_version=sat_dev_version if is_dev_version else False, |
123 install_requires=install_requires, | 134 install_requires=install_requires, |
124 extras_require=extras_require, | 135 extras_require=extras_require, |