This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathsetup.py
53 lines (46 loc) · 1.68 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
from typing import List
from setuptools import find_packages, setup
def get_long_description() -> str:
with open('README.md', encoding='utf-8') as source:
return source.read()
def get_requirements() -> List[str]:
with open('requirements/base.txt', encoding='utf-8') as source:
return source.readlines()
setup(
name='dostoevsky',
version='0.6.0',
description='Sentiment analysis library for russian language',
url='https://github.com/bureaucratic-labs/dostoevsky',
author='Bureaucratic Labs',
author_email='[email protected]',
license='MIT',
long_description=get_long_description(),
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Text Processing :: Linguistic',
],
keywords='natural language processing, sentiment analysis',
packages=find_packages(exclude=['tests']),
package_data={
'dostoevsky': [
'data/corpora/*',
'data/embeddings/*',
'data/models/*',
]
},
data_files=[
('requirements', ['requirements/base.txt']),
],
scripts=['bin/dostoevsky'],
install_requires=get_requirements(),
)