-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·79 lines (70 loc) · 2.21 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!/usr/bin/env python
"""
Setup.py distribution file for ucs-detect.
https://github.com/jquast/ucs-detect
"""
# std imports
import os
import codecs
# 3rd party
import setuptools
def _get_here(fname):
return os.path.join(os.path.dirname(__file__), fname)
def main():
"""Setup.py entry point."""
setuptools.setup(
name='ucs_detect',
version='1.0.7',
description=(
"Detects Unicode support of an interactive terminal"),
long_description=codecs.open(
_get_here('README.rst'), 'rb', 'utf8').read(),
author='Jeff Quast',
author_email='[email protected]',
install_requires=('blessed<2', 'wcwidth<1,>=0.2.13', 'PyYaml<7'),
license='MIT',
packages=['ucs_detect'],
url='https://github.com/jquast/ucs-detect',
package_data={
'': ['LICENSE', '*.rst', '*.txt'],
},
include_package_data=True,
zip_safe=True,
classifiers=[
'Intended Audience :: Developers',
'Natural Language :: English',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Localization',
'Topic :: Software Development :: Internationalization',
'Topic :: Terminals',
'Topic :: Text Processing :: General',
],
entry_points={
'console_scripts': ['ucs-detect=ucs_detect:main'],
},
keywords=[
'cjk',
'combining',
'console',
'eastasian',
'emoji'
'emulator',
'terminal',
'unicode',
'wcswidth',
'wcwidth',
'xterm',
'zwj',
],
)
if __name__ == '__main__':
main()