forked from RedTuna/mysolr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·50 lines (42 loc) · 1.36 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
# -*- coding: utf-8 -*-
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
REQUIRED = ['anyjson']
if sys.version_info >= (3, 3):
REQUIRED.append('requests>=0.14.1')
elif sys.version_info >= (3, 2):
REQUIRED.append('requests==0.12.1')
else:
REQUIRED.append('requests>=0.12.1')
if sys.version_info < (2, 7, ):
REQUIRED.append('ordereddict')
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
]
setup(name='mysolr',
version='0.8',
description='Solr Python binding',
long_description = open('README.rst').read(),
author='Rubén Abad, Miguel Olivares',
author_email='[email protected], [email protected]',
url='http://mysolr.redtuna.org',
packages=['mysolr'],
install_requires=REQUIRED,
extras_require={
'async': ['Gevent', 'grequests']
},
test_suite='tests',
classifiers=CLASSIFIERS)