# HG changeset patch # User Goffi # Date 1531067126 -7200 # Node ID 877f0053d66483b250f79303cc5d00c6829c1c1d # Parent 2068cf3009dacb32af5767dfe172db8cd3ede706 install (setup.py): don't use sys.prefix for doc diff -r 2068cf3009da -r 877f0053d664 setup.py --- a/setup.py Wed Apr 04 08:38:52 2018 +0200 +++ b/setup.py Sun Jul 08 18:25:26 2018 +0200 @@ -20,7 +20,6 @@ # along with this program. If not, see . import os -import sys from setuptools import setup @@ -31,7 +30,9 @@ name=NAME, version='0.0.3', description=u'Salut à Toi temporary third party patches', - 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.', + long_description=(u'This module is used by Salut à Toi project to patch third party ' + u'modules when the patches are not yet available upstream. Patches ' + u'are removed from this module once merged upstream.'), author='Association « Salut à Toi »', author_email='contact@salut-a-toi.org', url='https://salut-a-toi.org', @@ -41,6 +42,6 @@ 'Topic :: Communications :: Chat'], install_requires=['wokkel >= 0.7.1'], packages=['sat_tmp', 'sat_tmp.wokkel', 'sat_tmp.wokkel.test'], - data_files=[(os.path.join(sys.prefix, 'share/doc', NAME), + data_files=[(os.path.join('share/doc', NAME), ['README', 'COPYING'])], )