From 9eecca39ce82f38bc47a374784841db05e7981fc Mon Sep 17 00:00:00 2001 From: Dave McLain Date: Fri, 16 Nov 2012 12:15:47 -0600 Subject: [PATCH] initial commit --- .gitignore | 5 +++++ README.md | 4 ++++ scrapy_heroku/__init__.py | 2 ++ setup.py | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 44 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 scrapy_heroku/__init__.py create mode 100644 setup.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eba2671 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.pyc +.DS_Store +.coverage +cover +*.espressostorage diff --git a/README.md b/README.md new file mode 100644 index 0000000..81cef78 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +A package to assist with running scrapy on heroku. Mainly provides a scrapyd script that respects +PORT and a ISpiderQueue implementation that uses heroku's postgres implementation + +* Project page: diff --git a/scrapy_heroku/__init__.py b/scrapy_heroku/__init__.py new file mode 100644 index 0000000..e03c149 --- /dev/null +++ b/scrapy_heroku/__init__.py @@ -0,0 +1,2 @@ + +__version__ = (0, 1, 0, 'dev', 0) diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..09037bc --- /dev/null +++ b/setup.py @@ -0,0 +1,33 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +from setuptools import setup, find_packages + +setup( + name='scrapy-heroku', + version=":versiontools:scrapy_heroku:", + description="Utilities for running scrapy on heroku", + long_description="", + keywords='scrapy, heroku', + author='Dave McLain', + author_email='dave@trainca.se', + url='https://github.com/dmclain/scrapy-heroku', + license='BSD', + include_package_data=True, + packages=find_packages(), + install_requires=[ + 'distribute', + 'scrapy', + ], + setup_requires=[ + 'versiontools >= 1.8', + ], + classifiers=[ + 'Development Status :: 4 - Beta', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: BSD License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Topic :: Internet :: WWW/HTTP', + ] +)