comparison setup.py @ 480:2a072735e459

Licence modification: the full project is now under AGPL v3+ instead of GPL v3+
author Goffi <goffi@goffi.org>
date Wed, 01 Aug 2012 22:53:02 +0200
parents a11cde0cdf5b
children 8b5e142354ca
comparison
equal deleted inserted replaced
479:4b62ce15a5f8 480:2a072735e459
4 """ 4 """
5 SAT: a jabber client 5 SAT: a jabber client
6 Copyright (C) 2009, 2010, 2011 Jérôme Poisson (goffi@goffi.org) 6 Copyright (C) 2009, 2010, 2011 Jérôme Poisson (goffi@goffi.org)
7 7
8 This program is free software: you can redistribute it and/or modify 8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by 9 it under the terms of the GNU Affero General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or 10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version. 11 (at your option) any later version.
12 12
13 This program is distributed in the hope that it will be useful, 13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details. 16 GNU Affero General Public License for more details.
17 17
18 You should have received a copy of the GNU General Public License 18 You should have received a copy of the GNU Affero General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>. 19 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 """ 20 """
21 21
22 from distribute_setup import use_setuptools 22 from distribute_setup import use_setuptools
23 use_setuptools() 23 use_setuptools()
24 from setuptools.command.install import install 24 from setuptools.command.install import install
25 from setuptools import setup 25 from setuptools import setup
26 from distutils.file_util import copy_file 26 from distutils.file_util import copy_file
27 import os,sys,subprocess 27 import os,sys,subprocess
28 from stat import ST_MODE 28 from stat import ST_MODE
29 from glob import glob
30 29
31 NAME = 'sat' 30 NAME = 'sat'
32 LAUNCH_DAEMON_COMMAND = 'sat' 31 LAUNCH_DAEMON_COMMAND = 'sat'
33 32
34 class MercurialException(Exception): 33 class MercurialException(Exception):
190 url='http://wiki.goffi.org/wiki/Salut_%C3%A0_Toi', 189 url='http://wiki.goffi.org/wiki/Salut_%C3%A0_Toi',
191 classifiers=['Development Status :: 3 - Alpha', 190 classifiers=['Development Status :: 3 - Alpha',
192 'Environment :: Console', 191 'Environment :: Console',
193 'Environment :: X11 Applications :: GTK', 192 'Environment :: X11 Applications :: GTK',
194 'Framework :: Twisted', 193 'Framework :: Twisted',
195 'License :: OSI Approved :: GNU General Public License (GPL)', 194 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
196 'Operating System :: POSIX :: Linux', 195 'Operating System :: POSIX :: Linux',
197 'Topic :: Communications :: Chat'], 196 'Topic :: Communications :: Chat'],
198 package_dir = {'sat':'src', 'sat_frontends':'frontends/src'}, 197 package_dir = {'sat':'src', 'sat_frontends':'frontends/src'},
199 packages=['sat','sat.tools','sat.bridge', 'sat.plugins', 'sat.test', 'sat.core', 'sat.memory', 198 packages=['sat','sat.tools','sat.bridge', 'sat.plugins', 'sat.test', 'sat.core', 'sat.memory',
200 'sat_frontends', 'sat_frontends.bridge', 'sat_frontends.quick_frontend', 199 'sat_frontends', 'sat_frontends.bridge', 'sat_frontends.quick_frontend',