-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
37 lines (34 loc) · 1.25 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from jamo import __version__
import sys
if sys.version_info <= (3, 0):
print("ERROR: jamo requires Python 3.0 or later "
"(bleeding edge preferred)", file=sys.stderr)
sys.exit(1)
with open('README.rst', encoding='utf8') as f:
long_description = f.read()
setup(
name="jamo",
version=__version__,
description="A Hangul syllable and jamo analyzer.",
long_description=long_description,
url="https://github.com/jdongian/python-jamo",
author="Joshua Dong",
author_email="[email protected]",
license="http://www.apache.org/licenses/LICENSE-2.0",
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: PyPy",
],
keywords="Korean Hangul jamo syllable nlp",
packages=find_packages(),
package_dir={'jamo': 'jamo'},
package_data={'jamo': ['data/*.json']},
)