Mercurial > sat_tmp
changeset 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 |
files | setup.py |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 <http://www.gnu.org/licenses/>. 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'])], )