annotate setup.py @ 4076:b620a8e882e1

refactoring: rename `libervia.frontends.primitivus` to `libervia.tui`
author Goffi <goffi@goffi.org>
date Fri, 02 Jun 2023 16:25:25 +0200
parents 47401850dec6
children 10b6ad569157
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3028
ab2696e34d29 Python 3 port:
Goffi <goffi@goffi.org>
parents: 2963
diff changeset
1 #!/usr/bin/env python3
225
fd9b7834d98a distutils installation script, draft
Goffi <goffi@goffi.org>
parents:
diff changeset
2
3713
f97be63871e4 v0.8.0 release
Goffi <goffi@goffi.org>
parents: 3686
diff changeset
3 # Libervia: an XMPP client
3479
be6d91572633 date update
Goffi <goffi@goffi.org>
parents: 3475
diff changeset
4 # Copyright (C) 2009-2021 Jérôme Poisson (goffi@goffi.org)
1766
d17772b0fe22 copyright update
Goffi <goffi@goffi.org>
parents: 1720
diff changeset
5 # Copyright (C) 2013-2016 Adrien Cossa (souliane@mailoo.org)
238
83d2bc0abf2a version, README, CHANGELOG and INSTALL updates
Goffi <goffi@goffi.org>
parents: 237
diff changeset
6
609
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 607
diff changeset
7 # This program is free software: you can redistribute it and/or modify
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 607
diff changeset
8 # it under the terms of the GNU Affero General Public License as published by
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 607
diff changeset
9 # the Free Software Foundation, either version 3 of the License, or
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 607
diff changeset
10 # (at your option) any later version.
238
83d2bc0abf2a version, README, CHANGELOG and INSTALL updates
Goffi <goffi@goffi.org>
parents: 237
diff changeset
11
609
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 607
diff changeset
12 # This program is distributed in the hope that it will be useful,
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 607
diff changeset
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 607
diff changeset
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 607
diff changeset
15 # GNU Affero General Public License for more details.
238
83d2bc0abf2a version, README, CHANGELOG and INSTALL updates
Goffi <goffi@goffi.org>
parents: 237
diff changeset
16
609
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 607
diff changeset
17 # You should have received a copy of the GNU Affero General Public License
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 607
diff changeset
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
238
83d2bc0abf2a version, README, CHANGELOG and INSTALL updates
Goffi <goffi@goffi.org>
parents: 237
diff changeset
19
2562
26edcf3a30eb core, setup: huge cleaning:
Goffi <goffi@goffi.org>
parents: 2454
diff changeset
20 from setuptools import setup, find_packages
586
6a718ede8be1 Fix coding style in setup.py.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 581
diff changeset
21 import os
2562
26edcf3a30eb core, setup: huge cleaning:
Goffi <goffi@goffi.org>
parents: 2454
diff changeset
22
3576
8876803db81b /!\ package is being renamed to libervia-backend following global name change /!\
Goffi <goffi@goffi.org>
parents: 3575
diff changeset
23 NAME = "libervia-backend"
8876803db81b /!\ package is being renamed to libervia-backend following global name change /!\
Goffi <goffi@goffi.org>
parents: 3575
diff changeset
24 # NOTE: directory is still "sat" for compatibility reason, should be changed for 0.9
4071
4b842c1fb686 refactoring: renamed `sat` package to `libervia.backend`
Goffi <goffi@goffi.org>
parents: 3987
diff changeset
25 DIR_NAME = "libervia/backend"
1100
2be46f391cfa setup: SAT_INSTALL environment variable handles "clean" and "purge" options
souliane <souliane@mailoo.org>
parents: 1054
diff changeset
26
2562
26edcf3a30eb core, setup: huge cleaning:
Goffi <goffi@goffi.org>
parents: 2454
diff changeset
27 install_requires = [
3575
1b52e5ea3a7e install: set upper limit for dependencies versions
Goffi <goffi@goffi.org>
parents: 3556
diff changeset
28 'babel < 3',
1b52e5ea3a7e install: set upper limit for dependencies versions
Goffi <goffi@goffi.org>
parents: 3556
diff changeset
29 'dbus-python < 1.3',
1b52e5ea3a7e install: set upper limit for dependencies versions
Goffi <goffi@goffi.org>
parents: 3556
diff changeset
30 'html2text < 2020.2',
3061
948833e3b542 tools (common/template): removed warning catches, jinja2>=2.10.3 now handles them correctly
Goffi <goffi@goffi.org>
parents: 3053
diff changeset
31 'jinja2>=2.10.3',
3575
1b52e5ea3a7e install: set upper limit for dependencies versions
Goffi <goffi@goffi.org>
parents: 3556
diff changeset
32 'langid < 2',
2562
26edcf3a30eb core, setup: huge cleaning:
Goffi <goffi@goffi.org>
parents: 2454
diff changeset
33 'lxml >= 3.1.0',
2874
da0193ae1c24 misc (setup): minimum markdown version is not 3.0
Goffi <goffi@goffi.org>
parents: 2857
diff changeset
34 'markdown >= 3.0',
3575
1b52e5ea3a7e install: set upper limit for dependencies versions
Goffi <goffi@goffi.org>
parents: 3556
diff changeset
35 'miniupnpc < 2.1',
1b52e5ea3a7e install: set upper limit for dependencies versions
Goffi <goffi@goffi.org>
parents: 3556
diff changeset
36 'mutagen < 2',
1b52e5ea3a7e install: set upper limit for dependencies versions
Goffi <goffi@goffi.org>
parents: 3556
diff changeset
37 'netifaces < 0.12',
3330
7b47f48d31f3 plugin XEP-0264: fix orientation of thumbnails:
Goffi <goffi@goffi.org>
parents: 3281
diff changeset
38 'pillow >= 6.0.0',
3575
1b52e5ea3a7e install: set upper limit for dependencies versions
Goffi <goffi@goffi.org>
parents: 3556
diff changeset
39 'progressbar2 < 3.54',
1b52e5ea3a7e install: set upper limit for dependencies versions
Goffi <goffi@goffi.org>
parents: 3556
diff changeset
40 'cryptography < 3.5',
1b52e5ea3a7e install: set upper limit for dependencies versions
Goffi <goffi@goffi.org>
parents: 3556
diff changeset
41 'pygments < 3',
3577
87745bb92221 install: fix pygobject dependency
Goffi <goffi@goffi.org>
parents: 3576
diff changeset
42 'pygobject < 3.40.1',
3575
1b52e5ea3a7e install: set upper limit for dependencies versions
Goffi <goffi@goffi.org>
parents: 3556
diff changeset
43 'pyopenssl < 21.0.0',
3686
fc209014524a install (setup): set minimum version of `python-dateutil` to `2.8.1`:
Goffi <goffi@goffi.org>
parents: 3577
diff changeset
44 'python-dateutil >= 2.8.1, < 3',
3575
1b52e5ea3a7e install: set upper limit for dependencies versions
Goffi <goffi@goffi.org>
parents: 3556
diff changeset
45 'python-potr < 1.1',
1b52e5ea3a7e install: set upper limit for dependencies versions
Goffi <goffi@goffi.org>
parents: 3556
diff changeset
46 'pyxdg < 0.30',
3987
9089cf6c9684 install: get `urwid-satext` directly from repos
Goffi <goffi@goffi.org>
parents: 3986
diff changeset
47 # during dev we get sat_tmp and urwid-satext directly from the repository
3985
685aafba2a2b install: get `sat_tmp` directly from repos
Goffi <goffi@goffi.org>
parents: 3967
diff changeset
48 # 'sat_tmp == 0.9.*',
3986
a80a4aa71780 install: typo
Goffi <goffi@goffi.org>
parents: 3985
diff changeset
49 'sat_tmp @ hg+https://repos.goffi.org/sat_tmp#egg=sat_tmp',
3987
9089cf6c9684 install: get `urwid-satext` directly from repos
Goffi <goffi@goffi.org>
parents: 3986
diff changeset
50 # 'urwid-satext == 0.9.*',
9089cf6c9684 install: get `urwid-satext` directly from repos
Goffi <goffi@goffi.org>
parents: 3986
diff changeset
51 'urwid-satext @ hg+https://repos.goffi.org/urwid-satext#egg=urwid-satext',
3575
1b52e5ea3a7e install: set upper limit for dependencies versions
Goffi <goffi@goffi.org>
parents: 3556
diff changeset
52 'shortuuid < 1.1',
1b52e5ea3a7e install: set upper limit for dependencies versions
Goffi <goffi@goffi.org>
parents: 3556
diff changeset
53 'twisted[tls] >= 20.3.0, < 21.3.0',
3839
395b51452601 install: pyyaml and treq update
Goffi <goffi@goffi.org>
parents: 3775
diff changeset
54 'treq < 23.0.0',
3575
1b52e5ea3a7e install: set upper limit for dependencies versions
Goffi <goffi@goffi.org>
parents: 3556
diff changeset
55 'urwid >= 1.2.0, < 3',
1b52e5ea3a7e install: set upper limit for dependencies versions
Goffi <goffi@goffi.org>
parents: 3556
diff changeset
56 'wokkel >= 18.0.0, < 19.0.0',
3911
8289ac1b34f4 plugin XEP-0384: Fully reworked to adjust to the reworked python-omemo:
Syndace <me@syndace.dev>
parents: 3839
diff changeset
57 'omemo >= 1.0.0, < 2',
3967
f461f11ea176 plugin XEP-0384: Implementation of Automatic Trust Management:
Syndace <me@syndace.dev>
parents: 3933
diff changeset
58 'twomemo >= 1.0.0, < 2',
f461f11ea176 plugin XEP-0384: Implementation of Automatic Trust Management:
Syndace <me@syndace.dev>
parents: 3933
diff changeset
59 'oldmemo >= 1.0.0, < 2',
3839
395b51452601 install: pyyaml and treq update
Goffi <goffi@goffi.org>
parents: 3775
diff changeset
60 'pyyaml < 7.0.0',
3537
f9a5b810f14d core (memory/storage): backend storage is now based on SQLAlchemy
Goffi <goffi@goffi.org>
parents: 3481
diff changeset
61 'sqlalchemy >= 1.4',
3582
71516731d0aa core (memory/sqla): database migration using Alembic:
Goffi <goffi@goffi.org>
parents: 3580
diff changeset
62 'alembic',
3537
f9a5b810f14d core (memory/storage): backend storage is now based on SQLAlchemy
Goffi <goffi@goffi.org>
parents: 3481
diff changeset
63 'aiosqlite',
3582
71516731d0aa core (memory/sqla): database migration using Alembic:
Goffi <goffi@goffi.org>
parents: 3580
diff changeset
64 'txdbus',
3933
cecf45416403 plugin XEP-0373 and XEP-0374: Implementation of OX and OXIM:
Syndace <me@syndace.dev>
parents: 3911
diff changeset
65 'xmlschema',
2562
26edcf3a30eb core, setup: huge cleaning:
Goffi <goffi@goffi.org>
parents: 2454
diff changeset
66 ]
1123
e89bd3a26c86 installation: setup.py update:
Goffi <goffi@goffi.org>
parents: 1115
diff changeset
67
3259
f300d78f08f3 core: image convertion + SVG support:
Goffi <goffi@goffi.org>
parents: 3160
diff changeset
68 extras_require = {
f300d78f08f3 core: image convertion + SVG support:
Goffi <goffi@goffi.org>
parents: 3160
diff changeset
69 "SVG": ["CairoSVG"],
f300d78f08f3 core: image convertion + SVG support:
Goffi <goffi@goffi.org>
parents: 3160
diff changeset
70 }
f300d78f08f3 core: image convertion + SVG support:
Goffi <goffi@goffi.org>
parents: 3160
diff changeset
71
1150
beaf8d4475e4 misc (D-Bus, installation): added a .service file for D-Bus auto-launch feature + installation from setup.py (path adaptation now use regex).
Goffi <goffi@goffi.org>
parents: 1138
diff changeset
72 DBUS_DIR = 'dbus-1/services'
3480
7550ae9cfbac Renamed the project from "Salut à Toi" to "Libervia":
Goffi <goffi@goffi.org>
parents: 3479
diff changeset
73 DBUS_FILE = 'misc/org.libervia.Libervia.service'
3576
8876803db81b /!\ package is being renamed to libervia-backend following global name change /!\
Goffi <goffi@goffi.org>
parents: 3575
diff changeset
74 with open(os.path.join(DIR_NAME, 'VERSION')) as f:
2571
4aca060075b7 setup: version is now set in SAT/VERSION, sat is not imported anymore in setup
Goffi <goffi@goffi.org>
parents: 2567
diff changeset
75 VERSION = f.read().strip()
2572
7e7f4e344a96 setup: use scm version
Goffi <goffi@goffi.org>
parents: 2571
diff changeset
76 is_dev_version = VERSION.endswith('D')
3556
bb87ddfdde58 install (setup): add `setuptools_scm` to install dependencies if in dev version
Goffi <goffi@goffi.org>
parents: 3481
diff changeset
77 if is_dev_version:
bb87ddfdde58 install (setup): add `setuptools_scm` to install dependencies if in dev version
Goffi <goffi@goffi.org>
parents: 3481
diff changeset
78 install_requires.append("setuptools_scm")
2572
7e7f4e344a96 setup: use scm version
Goffi <goffi@goffi.org>
parents: 2571
diff changeset
79
7e7f4e344a96 setup: use scm version
Goffi <goffi@goffi.org>
parents: 2571
diff changeset
80
7e7f4e344a96 setup: use scm version
Goffi <goffi@goffi.org>
parents: 2571
diff changeset
81 def sat_dev_version():
7e7f4e344a96 setup: use scm version
Goffi <goffi@goffi.org>
parents: 2571
diff changeset
82 """Use mercurial data to compute version"""
7e7f4e344a96 setup: use scm version
Goffi <goffi@goffi.org>
parents: 2571
diff changeset
83 def version_scheme(version):
2576
cb7bf936d8e8 setup, tools(utils): fixed versioning in setup and getRepositoryData
Goffi <goffi@goffi.org>
parents: 2574
diff changeset
84 return VERSION.replace('D', '.dev0')
2572
7e7f4e344a96 setup: use scm version
Goffi <goffi@goffi.org>
parents: 2571
diff changeset
85
7e7f4e344a96 setup: use scm version
Goffi <goffi@goffi.org>
parents: 2571
diff changeset
86 def local_scheme(version):
2576
cb7bf936d8e8 setup, tools(utils): fixed versioning in setup and getRepositoryData
Goffi <goffi@goffi.org>
parents: 2574
diff changeset
87 return "+{rev}.{distance}".format(
2572
7e7f4e344a96 setup: use scm version
Goffi <goffi@goffi.org>
parents: 2571
diff changeset
88 rev=version.node[1:],
7e7f4e344a96 setup: use scm version
Goffi <goffi@goffi.org>
parents: 2571
diff changeset
89 distance=version.distance)
7e7f4e344a96 setup: use scm version
Goffi <goffi@goffi.org>
parents: 2571
diff changeset
90
3053
8b36e5c3f28f misc: don't import memory in launch script:
Goffi <goffi@goffi.org>
parents: 3044
diff changeset
91 return {
8b36e5c3f28f misc: don't import memory in launch script:
Goffi <goffi@goffi.org>
parents: 3044
diff changeset
92 'version_scheme': version_scheme,
8b36e5c3f28f misc: don't import memory in launch script:
Goffi <goffi@goffi.org>
parents: 3044
diff changeset
93 'local_scheme': local_scheme
8b36e5c3f28f misc: don't import memory in launch script:
Goffi <goffi@goffi.org>
parents: 3044
diff changeset
94 }
1150
beaf8d4475e4 misc (D-Bus, installation): added a .service file for D-Bus auto-launch feature + installation from setup.py (path adaptation now use regex).
Goffi <goffi@goffi.org>
parents: 1138
diff changeset
95
2565
ea106dfa2145 setup, constant: use https address in APP_URL, and keep pypi NAME separated from constants
Goffi <goffi@goffi.org>
parents: 2564
diff changeset
96
3036
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
97 setup(
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
98 name=NAME,
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
99 version=VERSION,
3481
7892585b7e17 core (setup), jp, primitivus: update console scripts + classifiers:
Goffi <goffi@goffi.org>
parents: 3480
diff changeset
100 description="Libervia multipurpose and multi frontend XMPP client",
7892585b7e17 core (setup), jp, primitivus: update console scripts + classifiers:
Goffi <goffi@goffi.org>
parents: 3480
diff changeset
101 long_description="Libervia is a XMPP client based on a daemon/frontend "
7892585b7e17 core (setup), jp, primitivus: update console scripts + classifiers:
Goffi <goffi@goffi.org>
parents: 3480
diff changeset
102 "architecture. It's multi frontend (desktop, web, console "
3036
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
103 "interface, CLI, etc) and multipurpose (instant messaging, "
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
104 "microblogging, games, file sharing, etc).",
4071
4b842c1fb686 refactoring: renamed `sat` package to `libervia.backend`
Goffi <goffi@goffi.org>
parents: 3987
diff changeset
105 author="Libervia dev team",
3036
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
106 author_email="contact@goffi.org",
4071
4b842c1fb686 refactoring: renamed `sat` package to `libervia.backend`
Goffi <goffi@goffi.org>
parents: 3987
diff changeset
107 url="https://libervia.org",
3036
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
108 classifiers=[
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
109 "Programming Language :: Python :: 3 :: Only",
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
110 "Programming Language :: Python :: 3.7",
3073
daed12db819d install (setup): added Python 3.8 classifier
Goffi <goffi@goffi.org>
parents: 3061
diff changeset
111 "Programming Language :: Python :: 3.8",
3481
7892585b7e17 core (setup), jp, primitivus: update console scripts + classifiers:
Goffi <goffi@goffi.org>
parents: 3480
diff changeset
112 "Programming Language :: Python :: 3.9",
3036
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
113 "Development Status :: 5 - Production/Stable",
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
114 "Environment :: Console",
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
115 "Framework :: Twisted",
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
116 "License :: OSI Approved :: GNU Affero General Public License v3 "
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
117 "or later (AGPLv3+)",
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
118 "Operating System :: POSIX :: Linux",
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
119 "Topic :: Communications :: Chat"
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
120 ],
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
121 packages=find_packages() + ["twisted.plugins"],
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
122 data_files=[("share/locale/fr/LC_MESSAGES",
4071
4b842c1fb686 refactoring: renamed `sat` package to `libervia.backend`
Goffi <goffi@goffi.org>
parents: 3987
diff changeset
123 ["i18n/fr/LC_MESSAGES/libervia_backend.mo"]),
3036
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
124 (os.path.join("share/doc", NAME),
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
125 ["CHANGELOG", "COPYING", "INSTALL", "README", "README4TRANSLATORS"]),
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
126 (os.path.join("share", DBUS_DIR), [DBUS_FILE]),
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
127 ],
3281
a3639d6d9643 core: replaced `sat` shell script by a python script:
Goffi <goffi@goffi.org>
parents: 3259
diff changeset
128 entry_points={
a3639d6d9643 core: replaced `sat` shell script by a python script:
Goffi <goffi@goffi.org>
parents: 3259
diff changeset
129 "console_scripts": [
3481
7892585b7e17 core (setup), jp, primitivus: update console scripts + classifiers:
Goffi <goffi@goffi.org>
parents: 3480
diff changeset
130 # backend + alias
4071
4b842c1fb686 refactoring: renamed `sat` package to `libervia.backend`
Goffi <goffi@goffi.org>
parents: 3987
diff changeset
131 "libervia-backend = libervia.backend.core.launcher:Launcher.run",
4b842c1fb686 refactoring: renamed `sat` package to `libervia.backend`
Goffi <goffi@goffi.org>
parents: 3987
diff changeset
132 "sat = libervia.backend.core.launcher:Launcher.run",
3481
7892585b7e17 core (setup), jp, primitivus: update console scripts + classifiers:
Goffi <goffi@goffi.org>
parents: 3480
diff changeset
133
7892585b7e17 core (setup), jp, primitivus: update console scripts + classifiers:
Goffi <goffi@goffi.org>
parents: 3480
diff changeset
134 # CLI + aliases
4075
47401850dec6 refactoring: rename `libervia.frontends.jp` to `libervia.cli`
Goffi <goffi@goffi.org>
parents: 4074
diff changeset
135 "libervia-cli = libervia.cli.base:LiberviaCli.run",
47401850dec6 refactoring: rename `libervia.frontends.jp` to `libervia.cli`
Goffi <goffi@goffi.org>
parents: 4074
diff changeset
136 "li = libervia.cli.base:LiberviaCli.run",
47401850dec6 refactoring: rename `libervia.frontends.jp` to `libervia.cli`
Goffi <goffi@goffi.org>
parents: 4074
diff changeset
137 "jp = libervia.cli.base:LiberviaCli.run",
3481
7892585b7e17 core (setup), jp, primitivus: update console scripts + classifiers:
Goffi <goffi@goffi.org>
parents: 3480
diff changeset
138
7892585b7e17 core (setup), jp, primitivus: update console scripts + classifiers:
Goffi <goffi@goffi.org>
parents: 3480
diff changeset
139 # TUI + alias
4076
b620a8e882e1 refactoring: rename `libervia.frontends.primitivus` to `libervia.tui`
Goffi <goffi@goffi.org>
parents: 4075
diff changeset
140 "libervia-tui = libervia.tui.base:LiberviaTUIApp.run",
b620a8e882e1 refactoring: rename `libervia.frontends.primitivus` to `libervia.tui`
Goffi <goffi@goffi.org>
parents: 4075
diff changeset
141 "primitivus = libervia.tui.base:LiberviaTUIApp.run",
3281
a3639d6d9643 core: replaced `sat` shell script by a python script:
Goffi <goffi@goffi.org>
parents: 3259
diff changeset
142 ],
a3639d6d9643 core: replaced `sat` shell script by a python script:
Goffi <goffi@goffi.org>
parents: 3259
diff changeset
143 },
3036
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
144 zip_safe=False,
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
145 setup_requires=["setuptools_scm"] if is_dev_version else [],
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
146 use_scm_version=sat_dev_version if is_dev_version else False,
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
147 install_requires=install_requires,
3352
a3f940e3d72e install (setup.py): added missing `extra_requires`
Goffi <goffi@goffi.org>
parents: 3330
diff changeset
148 extras_require=extras_require,
4071
4b842c1fb686 refactoring: renamed `sat` package to `libervia.backend`
Goffi <goffi@goffi.org>
parents: 3987
diff changeset
149 package_data={"libervia.backend": ["VERSION", "memory/migration/alembic.ini"]},
3040
fee60f17ebac jp: jp asyncio port:
Goffi <goffi@goffi.org>
parents: 3036
diff changeset
150 python_requires=">=3.7",
3036
3338c6a634f5 install (setup.py): updated classifiers
Goffi <goffi@goffi.org>
parents: 3035
diff changeset
151 )