2011-09-20 20:31:22 +00:00
|
|
|
#!/usr/bin/env python
|
2012-05-10 06:46:30 +00:00
|
|
|
|
|
|
|
import os
|
2011-09-20 20:31:22 +00:00
|
|
|
from setuptools import setup
|
|
|
|
|
2012-05-10 05:17:34 +00:00
|
|
|
# Hack to prevent stupid "TypeError: 'NoneType' object is not callable" error
|
|
|
|
# in multiprocessing/util.py _exit_function when running `python
|
|
|
|
# setup.py test` (see
|
|
|
|
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
|
|
|
|
try:
|
|
|
|
import multiprocessing
|
|
|
|
except ImportError:
|
|
|
|
pass
|
|
|
|
|
2012-05-10 15:16:35 +00:00
|
|
|
long_description = open('README.rst').read()
|
2011-09-20 20:31:22 +00:00
|
|
|
|
|
|
|
setup(name="oyster",
|
2012-05-16 17:47:57 +00:00
|
|
|
version='0.4.0-dev',
|
2011-09-20 20:31:22 +00:00
|
|
|
py_modules=['oyster'],
|
|
|
|
author="James Turk",
|
|
|
|
author_email='jturk@sunlightfoundation.com',
|
|
|
|
license="BSD",
|
|
|
|
url="http://github.com/sunlightlabs/oyster/",
|
|
|
|
long_description=long_description,
|
2011-09-20 21:15:15 +00:00
|
|
|
description="a proactive document cache",
|
2011-09-20 20:31:22 +00:00
|
|
|
platforms=["any"],
|
|
|
|
classifiers=["Development Status :: 4 - Beta",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"License :: OSI Approved :: BSD License",
|
|
|
|
"Natural Language :: English",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
],
|
2012-05-10 15:38:27 +00:00
|
|
|
install_requires=["httplib2 >= 0.6.0", "scrapelib >= 0.7.2",
|
2011-09-20 20:31:22 +00:00
|
|
|
"pymongo >= 1.11", "flask", "celery"],
|
2012-05-10 05:17:34 +00:00
|
|
|
tests_require=["nose"],
|
|
|
|
test_suite='nose.collector',
|
2011-09-20 20:31:22 +00:00
|
|
|
entry_points="""
|
|
|
|
[console_scripts]
|
|
|
|
scrapeshell = scrapelib:scrapeshell
|
|
|
|
"""
|
|
|
|
)
|