-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
58 lines (49 loc) · 1.52 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import io
import os
import setuptools
from prereform2modern import __version__
# Package meta-data.
NAME = 'prereform2modern'
DESCRIPTION = 'Pre-reform to contemporary orthography convertor for the Russian language'
URL = 'https://github.com/dhhse/prereform2modern'
EMAIL = '[email protected]'
AUTHOR = 'Elena Sidorova'
REQUIRES_PYTHON = '>=3.6.0,<4.0.0'
here = os.path.abspath(os.path.dirname(__file__))
# Import the README and use it as the long-description.
try:
with io.open(os.path.join(here, 'readme.md'), encoding='utf-8') as f:
long_description = '\n' + f.read()
except FileNotFoundError:
long_description = DESCRIPTION
setuptools.setup(
name=NAME,
version=__version__,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type='text/markdown',
author=AUTHOR,
author_email=EMAIL,
python_requires=REQUIRES_PYTHON,
url=URL,
packages=setuptools.find_packages(exclude=('tests',)),
# install_requires=list_reqs(),
package_data={
NAME: ['datasets/*.csv']
},
license='MIT',
classifiers=[
'License :: OSI Approved :: MIT License',
# 'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6'
],
keywords='prereform contemporary orthography convertor Russian',
entry_points={
'console_scripts': [
'translit=prereform2modern.translit_from_string:main',
],
},
)