forked from mak4alex/scrapy-rabbitmq
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
41 lines (32 loc) · 738 Bytes
/
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
import sys, os
import scrapy_rabbitmq
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from codecs import open
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
packages = [
'scrapy_rabbitmq'
]
requires = [
'pika',
'scrapy>=1.0'
]
setup(
name='scrapy-rabbitmq',
author='Royce Haynes',
description='RabbitMQ Plug-in for Scrapy',
version='0.1.2',
author_email='[email protected]',
license='MIT',
url='https://github.com/roycehaynes/scrapy-rabbitmq',
install_requires=requires,
packages=packages
)