File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
1
# -*- coding: utf-8 -*-
2
2
from setuptools import setup
3
3
from setuptools import find_packages
4
- import codecs
5
- with codecs .open ('README.rst' ,'r' ,encoding = 'utf-8' ) as readme_file :
6
- readme = readme_file .read ()
7
-
4
+ import sys
8
5
requirements = [
9
- 'pyicu>=1.9.2 ' ,
6
+ 'pyicu' ,
10
7
'nltk>=3.2.2' ,
11
8
'future>=0.16.0' ,
12
- 'dill' ,
13
- 'six' ,
14
- 'artagger'
9
+ 'six'
15
10
]
11
+ if sys .version_info >= (3 ,4 ):
12
+ requirements .append ('artagger' )
13
+ requirements .append ('dill' )
16
14
17
15
test_requirements = [
18
16
# TODO: put package test requirements here
22
20
name = 'pythainlp' ,
23
21
version = '1.2' ,
24
22
description = "Thai NLP in python package." ,
25
- long_description = readme ,
26
23
author = 'Wannaphong Phatthiyaphaibun' ,
27
24
28
25
url = 'https://github.com/wannaphongcom/pythainlp' ,
You can’t perform that action at this time.
0 commit comments