-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
75 lines (54 loc) · 2.08 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
"""setuptools module for uniscripts.
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# adapted from https://coderwall.com/p/qawuyq/use-markdown-readme-s-in-python-modules
try:
import pypandoc
long_description = pypandoc.convert(path.join(here, 'README.md'), 'rst', format='markdown_github')
except (IOError, ImportError):
with open(path.join(here, 'README.md')) as f:
long_description = f.read()
setup(
name='uniscripts',
# PEP440
version='1.0.5',
description='query Unicode script metadata',
long_description=long_description,
url='https://github.com/leoboiko/uniscripts',
# Author details
author='Leonardo Boiko',
author_email='leoboiko@namakajiri.net',
# Choose your license
license='CC0 1.0 Universal (CC0 1.0) Public Domain Dedication',
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: Internationalization',
'Topic :: Software Development :: Localization',
'Topic :: Text Processing',
'Topic :: Text Processing :: Linguistic',
'License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2', # probably?
'Programming Language :: Python :: 3.3', # I hope...
'Programming Language :: Python :: 3.4', # actually tested here
],
keywords='unicode script scripts uax24 hiragana katakana kanji han',
# packages=find_packages(exclude=['contrib', 'docs', 'tests*', 'update']),
packages=['uniscripts'],
# cf. https://packaging.python.org/en/latest/requirements.html
install_requires=[],
extras_require={},
package_data={},
data_files=[],
entry_points={},
)