comparison setup.py @ 336:84d5af1e2619

/!\ package is being renamed to libervia-templates following global name change /!\
author Goffi <goffi@goffi.org>
date Fri, 18 Jun 2021 15:52:37 +0200
parents a8fa6e118813
children aa30f8c20ae5
comparison
equal deleted inserted replaced
335:11d138c52628 336:84d5af1e2619
1 #!/usr/bin/env python3 1 #!/usr/bin/env python3
2 2
3 # SàT templates: collection of templates 3 # Libervia templates: collection of templates
4 # Copyright (C) 2017-2021 Jérôme Poisson (goffi@goffi.org) 4 # Copyright (C) 2017-2021 Jérôme Poisson (goffi@goffi.org)
5 # Copyright (C) 2017 Xavier Maillard (xavier@maillard.im) 5 # Copyright (C) 2017 Xavier Maillard (xavier@maillard.im)
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 import os 20 import os
21 from setuptools import setup, find_packages 21 from setuptools import setup, find_packages
22 22
23 NAME = "sat_templates" 23 NAME = "libervia-templates"
24 # NOTE: directory is still "sat_templates" for compatibility reason,
25 # should be changed for 0.9
26 DIR_NAME = "sat_templates"
24 27
25 28
26 with open(os.path.join(NAME, "VERSION")) as f: 29 with open(os.path.join(DIR_NAME, "VERSION")) as f:
27 VERSION = f.read().strip() 30 VERSION = f.read().strip()
28 is_dev_version = VERSION.endswith("D") 31 is_dev_version = VERSION.endswith("D")
29 32
30 33
31 def sat_templates_dev_version(): 34 def sat_templates_dev_version():
43 46
44 47
45 setup_info = dict( 48 setup_info = dict(
46 name=NAME, 49 name=NAME,
47 version=VERSION, 50 version=VERSION,
48 description="Templates for Salut à Toi XMPP client", 51 description="Templates for Libervia XMPP client",
49 long_description="SàT Template is a common module which can be used by any SàT " 52 long_description="SàT Template is a common module which can be used by any SàT "
50 "frontend to generate documents (mostly HTML but not only).", 53 "frontend to generate documents (mostly HTML but not only).",
51 author="Association « Salut à Toi »", 54 author="Association « Salut à Toi »",
52 author_email="contact@salut-a-toi.org", 55 author_email="contact@salut-a-toi.org",
53 url="https://salut-a-toi.org", 56 url="https://salut-a-toi.org",
54 classifiers=[ 57 classifiers=[
55 "Programming Language :: Python :: 3 :: Only", 58 "Programming Language :: Python :: 3 :: Only",
56 "Programming Language :: Python :: 3.7", 59 "Programming Language :: Python :: 3.7",
57 "Programming Language :: Python :: 3.8", 60 "Programming Language :: Python :: 3.8",
61 "Programming Language :: Python :: 3.9",
58 "Development Status :: 5 - Production/Stable", 62 "Development Status :: 5 - Production/Stable",
59 "License :: OSI Approved :: GNU Affero General Public License v3 or later " 63 "License :: OSI Approved :: GNU Affero General Public License v3 or later "
60 "(AGPLv3+)", 64 "(AGPLv3+)",
61 ], 65 ],
62 install_requires=[], 66 install_requires=[],