annotate setup.py @ 75:4b08108560e3

twisted: removed twisted patches as Python 3.8 support is now available upstream
author Goffi <goffi@goffi.org>
date Thu, 18 Mar 2021 20:53:11 +0100
parents 29b383e14ebf
children 8959519f9066
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 # -*- coding: utf-8 -*-
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
3
48
0a2d12d4ffd6 setup.py: use a minor version for first release
Goffi <goffi@goffi.org>
parents: 45
diff changeset
4 # SàT tmp: repository to store temporary patches for third party software
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) 2009-2017 Jérôme Poisson (goffi@goffi.org)
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
7 # Copyright (C) 2013-2016 Adrien Cossa (souliane@mailoo.org)
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
8
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
9 # 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
10 # 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
11 # the Free Software Foundation, either version 3 of the License, or
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
12 # (at your option) any later version.
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
13
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
14 # 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
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
17 # GNU Affero General Public License for more details.
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
18
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
19 # 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
20 # 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
21
49
c09d4ce9ad52 cleaned setup.py
Goffi <goffi@goffi.org>
parents: 48
diff changeset
22 import os
c09d4ce9ad52 cleaned setup.py
Goffi <goffi@goffi.org>
parents: 48
diff changeset
23 from setuptools import setup
45
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
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
26 NAME = 'sat_tmp'
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
27
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
28
49
c09d4ce9ad52 cleaned setup.py
Goffi <goffi@goffi.org>
parents: 48
diff changeset
29 setup(
45
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
30 name=NAME,
68
042a926cf3b2 updated version in setup.py
Goffi <goffi@goffi.org>
parents: 66
diff changeset
31 version='0.8.0.dev0',
69
0721b6254c9e python 3 port:
Goffi <goffi@goffi.org>
parents: 68
diff changeset
32 description='Salut à Toi temporary third party patches',
0721b6254c9e python 3 port:
Goffi <goffi@goffi.org>
parents: 68
diff changeset
33 long_description=('This module is used by Salut à Toi project to patch third party '
0721b6254c9e python 3 port:
Goffi <goffi@goffi.org>
parents: 68
diff changeset
34 'modules when the patches are not yet available upstream. Patches '
0721b6254c9e python 3 port:
Goffi <goffi@goffi.org>
parents: 68
diff changeset
35 '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",
922b2f0efa60 install (setup.py): better classifiers + minimal python version is 3.6
Goffi <goffi@goffi.org>
parents: 69
diff changeset
42 "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
43 "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
44 "or later (AGPLv3+)",
922b2f0efa60 install (setup.py): better classifiers + minimal python version is 3.6
Goffi <goffi@goffi.org>
parents: 69
diff changeset
45 "Operating System :: POSIX :: Linux",
922b2f0efa60 install (setup.py): better classifiers + minimal python version is 3.6
Goffi <goffi@goffi.org>
parents: 69
diff changeset
46 "Topic :: Communications :: Chat",
922b2f0efa60 install (setup.py): better classifiers + minimal python version is 3.6
Goffi <goffi@goffi.org>
parents: 69
diff changeset
47 ],
45
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
48 install_requires=['wokkel >= 0.7.1'],
75
4b08108560e3 twisted: removed twisted patches as Python 3.8 support is now available upstream
Goffi <goffi@goffi.org>
parents: 72
diff changeset
49 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
50 data_files=[(os.path.join('share/doc', NAME),
49
c09d4ce9ad52 cleaned setup.py
Goffi <goffi@goffi.org>
parents: 48
diff changeset
51 ['README', 'COPYING'])],
70
922b2f0efa60 install (setup.py): better classifiers + minimal python version is 3.6
Goffi <goffi@goffi.org>
parents: 69
diff changeset
52 python_requires=">=3.6",
45
c8cb4e867897 made proper package + installation
Arnaud Joset <info@agayon.be>
parents:
diff changeset
53 )