-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
40 lines (34 loc) · 1.15 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
#!/usr/bin/env python
# coding: utf-8
from __future__ import absolute_import
from __future__ import unicode_literals
from setuptools import setup, find_packages
def _requires_from_file(filename):
return open(filename).read().splitlines()
try:
with open('README.rst') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name="trie-search",
version='0.3.0',
url='https://github.com/nkmrtty/trie-search',
author='Tatsuya Nakamura',
author_email='[email protected]',
maintainer='Tatsuya Nakamura',
maintainer_email='[email protected]',
description='Trie-search is a package for text pattern search using marisa-trie',
long_description=readme,
packages=find_packages(),
install_requires=_requires_from_file('requirements.txt'),
license="MIT",
classifiers=[
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'License :: OSI Approved :: MIT License',
'Topic :: Text Processing',
], )