annotate setup.py @ 80:46894097e7ee

wokkel (pubsub): add `notifyPurge` method
author Goffi <goffi@goffi.org>
date Thu, 29 Jul 2021 15:50:25 +0200
parents 8959519f9066
children 2d99519090b9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
69
0721b6254c9e python 3 port:
Goffi <goffi@goffi.org>
parents: 68
diff changeset
1 #!/usr/bin/env python3
45
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
2
48
0a2d12d4ffd6 setup.py: use a minor version for first release
Goffi <goffi@goffi.org>
parents: 45
diff changeset
3 # SàT tmp: repository to store temporary patches for third party software
78
8959519f9066 v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 75
diff changeset
4 # Copyright (C) 2009-2021 Jérôme Poisson (goffi@goffi.org)
45
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
5 # Copyright (C) 2017 Arnaud Joset (info@agayon.be)
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
6 # Copyright (C) 2013-2016 Adrien Cossa (souliane@mailoo.org)
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
7
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
8 # This program is free software: you can redistribute it and/or modify
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
9 # it under the terms of the GNU Affero General Public License as published by
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
10 # the Free Software Foundation, either version 3 of the License, or
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
11 # (at your option) any later version.
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
12
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
13 # This program is distributed in the hope that it will be useful,
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
16 # GNU Affero General Public License for more details.
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
17
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
18 # You should have received a copy of the GNU Affero General Public License
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
20
49
c09d4ce9ad52 cleaned setup.py
Goffi <goffi@goffi.org>
parents: 48
diff changeset
21 import os
c09d4ce9ad52 cleaned setup.py
Goffi <goffi@goffi.org>
parents: 48
diff changeset
22 from setuptools import setup
45
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
23
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
24
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
25 NAME = 'sat_tmp'
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
26
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
27
49
c09d4ce9ad52 cleaned setup.py
Goffi <goffi@goffi.org>
parents: 48
diff changeset
28 setup(
45
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
29 name=NAME,
80
46894097e7ee wokkel (pubsub): add `notifyPurge` method
Goffi <goffi@goffi.org>
parents: 78
diff changeset
30 version='0.9.dev0',
78
8959519f9066 v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 75
diff changeset
31 description='Libervia temporary third party patches',
8959519f9066 v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 75
diff changeset
32 long_description=(
8959519f9066 v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 75
diff changeset
33 'This module is used by Libervia project (formerly "Salut à Toi") project to '
8959519f9066 v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 75
diff changeset
34 'patch third party modules when the patches are not yet available upstream. '
8959519f9066 v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 75
diff changeset
35 'Patches are removed from this module once merged upstream.'),
45
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
36 author='Association « Salut à Toi »',
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
37 author_email='contact@salut-a-toi.org',
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
38 url='https://salut-a-toi.org',
70
922b2f0efa60 install (setup.py): better classifiers + minimal python version is 3.6
Goffi <goffi@goffi.org>
parents: 69
diff changeset
39 classifiers=[
922b2f0efa60 install (setup.py): better classifiers + minimal python version is 3.6
Goffi <goffi@goffi.org>
parents: 69
diff changeset
40 "Programming Language :: Python :: 3 :: Only",
922b2f0efa60 install (setup.py): better classifiers + minimal python version is 3.6
Goffi <goffi@goffi.org>
parents: 69
diff changeset
41 "Programming Language :: Python :: 3.7",
78
8959519f9066 v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 75
diff changeset
42 "Programming Language :: Python :: 3.8",
8959519f9066 v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 75
diff changeset
43 "Programming Language :: Python :: 3.9",
70
922b2f0efa60 install (setup.py): better classifiers + minimal python version is 3.6
Goffi <goffi@goffi.org>
parents: 69
diff changeset
44 "Development Status :: 5 - Production/Stable",
922b2f0efa60 install (setup.py): better classifiers + minimal python version is 3.6
Goffi <goffi@goffi.org>
parents: 69
diff changeset
45 "License :: OSI Approved :: GNU Affero General Public License v3 "
922b2f0efa60 install (setup.py): better classifiers + minimal python version is 3.6
Goffi <goffi@goffi.org>
parents: 69
diff changeset
46 "or later (AGPLv3+)",
922b2f0efa60 install (setup.py): better classifiers + minimal python version is 3.6
Goffi <goffi@goffi.org>
parents: 69
diff changeset
47 "Operating System :: POSIX :: Linux",
922b2f0efa60 install (setup.py): better classifiers + minimal python version is 3.6
Goffi <goffi@goffi.org>
parents: 69
diff changeset
48 "Topic :: Communications :: Chat",
922b2f0efa60 install (setup.py): better classifiers + minimal python version is 3.6
Goffi <goffi@goffi.org>
parents: 69
diff changeset
49 ],
78
8959519f9066 v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 75
diff changeset
50 install_requires=['wokkel == 18.0.0'],
75
4b08108560e3 twisted: removed twisted patches as Python 3.8 support is now available upstream
Goffi <goffi@goffi.org>
parents: 72
diff changeset
51 packages=['sat_tmp', 'sat_tmp.wokkel', 'sat_tmp.wokkel.test'],
53
877f0053d664 install (setup.py): don't use sys.prefix for doc
Goffi <goffi@goffi.org>
parents: 52
diff changeset
52 data_files=[(os.path.join('share/doc', NAME),
49
c09d4ce9ad52 cleaned setup.py
Goffi <goffi@goffi.org>
parents: 48
diff changeset
53 ['README', 'COPYING'])],
78
8959519f9066 v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 75
diff changeset
54 python_requires=">=3.7",
45
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
55 )