comparison setup.py @ 148:a4b6b8b6fc58

installation (setup.py, i18n): moved i18n directory to sat_templates + removed data_files which is not used anymore
author Goffi <goffi@goffi.org>
date Sun, 03 Jun 2018 09:00:04 +0200
parents 33c7ce833d3f
children d9cc8f453baa
comparison
equal deleted inserted replaced
147:33c7ce833d3f 148:a4b6b8b6fc58
68 install_requires=[], 68 install_requires=[],
69 setup_requires=['setuptools_scm'] if is_dev_version else [], 69 setup_requires=['setuptools_scm'] if is_dev_version else [],
70 use_scm_version=sat_templates_dev_version if is_dev_version else False, 70 use_scm_version=sat_templates_dev_version if is_dev_version else False,
71 packages=['sat_templates'], 71 packages=['sat_templates'],
72 package_data={'sat_templates': get_package_data('sat_templates') }, 72 package_data={'sat_templates': get_package_data('sat_templates') },
73 data_files=[(os.path.join(sys.prefix, 'share/locale/fr/LC_MESSAGES'), ['i18n/fr/LC_MESSAGES/sat.mo']),
74 ('share/doc/%s' % NAME, ['COPYING']),
75 ],
76 zip_safe=True, 73 zip_safe=True,
77 ) 74 )
78 75
79 setup(**setup_info) 76 setup(**setup_info)