-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
30 lines (24 loc) · 889 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
# -*- coding: utf-8 -*-
import sys
from os import path
from setuptools import setup, find_packages
here = path.abspath(path.dirname(__file__))
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup(name='pelitk',
version='0.1.4',
description='Package for processing text, especially texts in PELIC',
long_description=readme,
authors='Daniel Zheng, Na-Rae Han, Ben Naismith',
author_email='[email protected]',
url='https://github.com/ELI-Data-Mining-Group/pelitk',
license=license,
install_requires=['nltk', 'scipy', 'numpy'],
packages=find_packages(exclude=('tests', 'docs')),
package_data={'pelitk': ['data/wordlists/*.txt', 'data/*.pkl']},
include_package_data=True)
if 'install' in sys.argv or 'develop' in sys.argv:
import nltk
nltk.download('wordnet')