-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathsetup.py
44 lines (36 loc) · 1.14 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
#!/usr/bin/env python
# coding: utf-8
from setuptools import setup
from setuptools import find_packages
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
"Environment :: Web Environment",
"License :: OSI Approved :: BSD License",
"Development Status :: 5 - Production/Stable",
]
requires = ["requests==1.2.3", ]
# This might not be the best idea.
try:
import json
except ImportError:
requires.append('simplejson>=2.0')
# Python 2.6 does not ship with an OrderedDict implementation.
# God save the cheeseshop!
try:
from collections import OrderedDict
except ImportError:
requires.append('ordereddict>=1.1')
setup(name='pyspotlight',
version='0.6.5.2',
license='BSD',
url='https://github.com/newsgrape/pyspotlight',
packages=find_packages(),
description='Python interface to the DBPedia Spotlight REST API',
long_description=open('README.rst').read(),
keywords="dbpedia spotlight semantic",
classifiers=classifiers,
install_requires=requires,
)