Mercurial > sat_tmp
comparison setup.py @ 45:c8cb4e867897
made proper package + installation
author | Arnaud Joset <info@agayon.be> |
---|---|
date | Thu, 02 Nov 2017 22:50:59 +0100 |
parents | |
children | 0a2d12d4ffd6 |
comparison
equal
deleted
inserted
replaced
44:7430d1f6db22 | 45:c8cb4e867897 |
---|---|
1 #!/usr/bin/env python2 | |
2 # -*- coding: utf-8 -*- | |
3 | |
4 # SàT tmp: repository to store temporarily patches to third party software | |
5 # until they are merged upstream | |
6 # Copyright (C) 2017 Arnaud Joset (info@agayon.be) | |
7 # Copyright (C) 2009-2017 Jérôme Poisson (goffi@goffi.org) | |
8 # Copyright (C) 2013-2016 Adrien Cossa (souliane@mailoo.org) | |
9 | |
10 # This program is free software: you can redistribute it and/or modify | |
11 # it under the terms of the GNU Affero General Public License as published by | |
12 # the Free Software Foundation, either version 3 of the License, or | |
13 # (at your option) any later version. | |
14 | |
15 # This program is distributed in the hope that it will be useful, | |
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 # GNU Affero General Public License for more details. | |
19 | |
20 # You should have received a copy of the GNU Affero General Public License | |
21 # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
22 | |
23 import sys | |
24 from setuptools import setup, find_packages | |
25 | |
26 | |
27 includefiles = ['COPYING','README'] | |
28 include_modules = [] | |
29 | |
30 base = None | |
31 NAME = 'sat_tmp' | |
32 is_wheel = 'bdist_wheel' in sys.argv | |
33 | |
34 excluded = [] | |
35 | |
36 def create_package_list(base_package): | |
37 return ([base_package] + [base_package + '.' + pkg for pkg in find_packages(base_package)]) | |
38 | |
39 setup_info = dict( | |
40 name=NAME, | |
41 version='0.7', | |
42 author='Association « Salut à Toi »', | |
43 author_email='contact@salut-a-toi.org', | |
44 url='https://salut-a-toi.org', | |
45 classifiers=['Development Status :: 3 - Alpha', | |
46 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)', | |
47 'Operating System :: POSIX :: Linux', | |
48 'Topic :: Communications :: Chat'], | |
49 install_requires=['wokkel >= 0.7.1'], | |
50 packages=create_package_list('sat_tmp'), | |
51 zip_safe=True, | |
52 ) | |
53 | |
54 setup(**setup_info) |