comparison setup.py @ 1442:a06a5b510e2e

/!\ package is being renamed to libervia-web following global name change /!\
author Goffi <goffi@goffi.org>
date Fri, 18 Jun 2021 16:21:18 +0200
parents c34e973587bd
children 15bb2673eb72
comparison
equal deleted inserted replaced
1441:c34e973587bd 1442:a06a5b510e2e
1 #!/usr/bin/env python3 1 #!/usr/bin/env python3
2 2
3 # Libervia: a Salut à Toi frontend 3 # Libervia Web Frontend
4 # Copyright (C) 2011-2021 Jérôme Poisson (goffi@goffi.org) 4 # Copyright (C) 2011-2021 Jérôme Poisson (goffi@goffi.org)
5 # Copyright (C) 2013-2016 Adrien Cossa (souliane@mailoo.org) 5 # Copyright (C) 2013-2016 Adrien Cossa (souliane@mailoo.org)
6 6
7 # This program is free software: you can redistribute it and/or modify 7 # This program is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU Affero General Public License as published by 8 # it under the terms of the GNU Affero General Public License as published by
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. 18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 19
20 from setuptools import setup 20 from setuptools import setup
21 import os 21 import os
22 22
23 NAME = "libervia" 23 NAME = "libervia-web"
24 # NOTE: directory is still "libervia" for compatibility reason, should be changed for 0.9
25 DIR_NAME = "libervia"
24 26
25 install_requires = [ 27 install_requires = [
26 "libervia-backend >=0.8.0b1, <0.9.0", 28 "libervia-backend >=0.8.0b1, <0.9.0",
27 "libervia-templates >=0.8.0b1, <0.9.0", 29 "libervia-templates >=0.8.0b1, <0.9.0",
28 'twisted[tls] >=20.3.0, <21.3.0', 30 'twisted[tls] >=20.3.0, <21.3.0',
32 'shortuuid <1.1', 34 'shortuuid <1.1',
33 "autobahn <21.4.0", 35 "autobahn <21.4.0",
34 "brython >=3.9.2, <3.10", 36 "brython >=3.9.2, <3.10",
35 ] 37 ]
36 long_description = """\ 38 long_description = """\
37 Libervia is a web frontend for Salut à Toi (SàT), a multi-frontends and multi-purposes XMPP client. 39 Web frontend for Libervia (formerly Salut à Toi), a multi-frontends and multi-purposes XMPP client.
38 It features chat, blog, forums, events, tickets, merge requests, file sharing, photo albums, etc. 40 It features chat, blog, forums, events, tickets, merge requests, file sharing, photo albums, etc.
39 It is also a decentralized, XMPP based web framework. 41 It is also a decentralized, XMPP based web framework.
40 """ 42 """
41 43
42 with open(os.path.join(NAME, "VERSION")) as v: 44 with open(os.path.join(DIR_NAME, "VERSION")) as v:
43 VERSION = v.read().strip() 45 VERSION = v.read().strip()
44 is_dev_version = VERSION.endswith("D") 46 is_dev_version = VERSION.endswith("D")
45 47
46 48
47 def libervia_dev_version(): 49 def libervia_dev_version():
57 59
58 60
59 setup( 61 setup(
60 name=NAME, 62 name=NAME,
61 version=VERSION, 63 version=VERSION,
62 description="Web frontend for Salut à Toi", 64 description="Web frontend for Libervia",
63 long_description=long_description, 65 long_description=long_description,
64 author="Association « Salut à Toi »", 66 author="Association « Salut à Toi »",
65 author_email="contact@goffi.org", 67 author_email="contact@goffi.org",
66 url="https://www.salut-a-toi.org", 68 url="https://www.salut-a-toi.org",
67 classifiers=[ 69 classifiers=[