comparison setup.py @ 53:877f0053d664

install (setup.py): don't use sys.prefix for doc
author Goffi <goffi@goffi.org>
date Sun, 08 Jul 2018 18:25:26 +0200
parents 2068cf3009da
children 1984ffd0e5cc
comparison
equal deleted inserted replaced
52:2068cf3009da 53:877f0053d664
18 18
19 # You should have received a copy of the GNU Affero General Public License 19 # You should have received a copy of the GNU Affero General Public License
20 # along with this program. If not, see <http://www.gnu.org/licenses/>. 20 # along with this program. If not, see <http://www.gnu.org/licenses/>.
21 21
22 import os 22 import os
23 import sys
24 from setuptools import setup 23 from setuptools import setup
25 24
26 25
27 NAME = 'sat_tmp' 26 NAME = 'sat_tmp'
28 27
29 28
30 setup( 29 setup(
31 name=NAME, 30 name=NAME,
32 version='0.0.3', 31 version='0.0.3',
33 description=u'Salut à Toi temporary third party patches', 32 description=u'Salut à Toi temporary third party patches',
34 long_description=u'This module is used by Salut à Toi project to patch third party modules when the patches are not yet available upstream. Patches are removed from this module once merged upstream.', 33 long_description=(u'This module is used by Salut à Toi project to patch third party '
34 u'modules when the patches are not yet available upstream. Patches '
35 u'are removed from this module once merged upstream.'),
35 author='Association « Salut à Toi »', 36 author='Association « Salut à Toi »',
36 author_email='contact@salut-a-toi.org', 37 author_email='contact@salut-a-toi.org',
37 url='https://salut-a-toi.org', 38 url='https://salut-a-toi.org',
38 classifiers=['Development Status :: 3 - Alpha', 39 classifiers=['Development Status :: 3 - Alpha',
39 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)', 40 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
40 'Operating System :: POSIX :: Linux', 41 'Operating System :: POSIX :: Linux',
41 'Topic :: Communications :: Chat'], 42 'Topic :: Communications :: Chat'],
42 install_requires=['wokkel >= 0.7.1'], 43 install_requires=['wokkel >= 0.7.1'],
43 packages=['sat_tmp', 'sat_tmp.wokkel', 'sat_tmp.wokkel.test'], 44 packages=['sat_tmp', 'sat_tmp.wokkel', 'sat_tmp.wokkel.test'],
44 data_files=[(os.path.join(sys.prefix, 'share/doc', NAME), 45 data_files=[(os.path.join('share/doc', NAME),
45 ['README', 'COPYING'])], 46 ['README', 'COPYING'])],
46 ) 47 )