-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (31 loc) · 978 Bytes
/
setup.py
File metadata and controls
33 lines (31 loc) · 978 Bytes
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
import setuptools
from distutils.core import setup
import pathlib
# This is necessary to get the version right, otherwise
# it will fail and give v0.0.0
import setuptools_scm
setup(
name="cutlet",
use_scm_version=True,
author="Paul O'Leary McCann",
author_email="polm@dampfkraft.com",
description="Romaji converter",
long_description=pathlib.Path("README.md").read_text("utf8"),
long_description_content_type="text/markdown",
url="https://github.com/polm/cutlet",
packages=setuptools.find_packages(),
install_requires=["jaconv", "fugashi", "mojimoji"],
setup_requires=["setuptools-scm"],
tests_require=["pytest", "hypothesis"],
classifiers=[
"License :: OSI Approved :: MIT License",
"Natural Language :: Japanese",
],
python_requires=">=3.8",
package_data={"cutlet": ["exceptions.tsv"]},
entry_points={
"console_scripts": [
"cutlet = cutlet.cli:main",
]
},
)