forked from piskvorky/gensim-simserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
74 lines (53 loc) · 2.05 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2012 Radim Rehurek <[email protected]>
# Licensed under the GNU AGPL v3.0 - http://www.gnu.org/licenses/agpl.html
"""
Run with:
sudo python ./setup.py install
"""
import os
import sys
if sys.version_info[:2] < (2, 5):
raise Exception('This version of simserver needs Python 2.5 or later. ')
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = 'simserver',
version = '0.1.4',
description = 'Document similarity server',
long_description = read('README.rst'),
packages = find_packages(),
# there is a bug in python2.5, preventing distutils from using any non-ascii characters :( http://bugs.python.org/issue2562
author = 'Radim Rehurek', # u'Radim Řehůřek', # <- should really be this...
author_email = '[email protected]',
url = 'https://github.com/piskvorky/gensim-simserver',
download_url = 'http://pypi.python.org/pypi/simserver',
keywords = 'Similarity server, document database, Latent Semantic Indexing, LSA, '
'LSI, LDA, Latent Dirichlet Allocation, TF-IDF, gensim',
license = 'AGPL v3',
platforms = 'any',
zip_safe = False,
classifiers = [ # from http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.5',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Text Processing :: Linguistic',
],
test_suite = "simserver.test",
install_requires = [
'gensim >= 0.8.5',
'Pyro4 >= 4.8',
'sqlitedict >= 1.0.8',
],
include_package_data = True,
)