-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
31 lines (26 loc) · 937 Bytes
/
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
import os
from setuptools import setup, find_packages
with open('README.md', 'r', encoding='utf-8') as f:
long_description = f.read()
def read_requirements():
"""Parse requirements from requirements.txt."""
reqs_path = os.path.join('.', 'requirements.txt')
with open(reqs_path, 'r') as f:
requirements = [line.rstrip() for line in f]
return requirements
setup(
name='nlplot',
version='1.6.0',
description='Visualization Module for Natural Language Processing',
long_description=long_description,
long_description_content_type='text/markdown',
author='Takanobu Nozawa',
author_email='[email protected]',
url='https://github.com/takapy0210/nlplot',
license='MIT License',
install_requires=read_requirements(),
packages=find_packages(exclude=('tests')),
tests_require=["pytest"],
package_data={'nlplot': ['data/*']},
python_requires='>=3.6'
)