-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
executable file
·50 lines (48 loc) · 1.82 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/python3
import setuptools
import codecs
setuptools.setup(
# do not zip the egg file to be able to access the *.xml.gz files
# within the egg directory easily:
zip_safe=False,
name='langtable',
version='0.0.68',
packages=setuptools.find_packages(),
description='guess reasonable defaults for locale, keyboard, territory, ...',
long_description=codecs.open('README.md', encoding='UTF-8').read(),
long_description_content_type='text/markdown',
license="GPL-3.0-or-later",
author='Mike FABIAN',
author_email='mfabian@redhat.com',
url='https://github.com/mike-fabian/langtable',
py_modules=['langtable'],
package_data={
'langtable': ['data/*.xml.gz', 'schemas/*.rng'],
},
# data_files is for installing the data files outside of the package with:
#
# ./setup.py install_data --install-dir=dirname
#
# data_files = [
# ('data',
# ['langtable/data/keyboards.xml.gz',
# 'langtable/data/languages.xml.gz',
# 'langtable/data/territories.xml.gz',
# 'langtable/data/timezones.xml.gz',
# 'langtable/data/timezoneidparts.xml.gz']),
# ('schemas',
# ['langtable/schemas/keyboards.rng',
# 'langtable/schemas/languages.rng',
# 'langtable/schemas/territories.rng',
# 'langtable/schemas/timezones.rng',
# 'langtable/schemas/timezoneidparts.rng'])],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Topic :: System :: Installation/Setup',
],
)