-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
41 lines (38 loc) · 978 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
#!/usr/bin/env python
# coding=utf-8
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='yascrapy',
version='0.1',
description='yet another scrapy framework',
author='Cphilo',
author_email='[email protected]',
url='https://github.com/jianxunio/yascrapy.git',
packages=[
'yascrapy',
'yascrapy.libs',
'yascrapy.plugins',
'yascrapy.tests'
],
install_requires=[
"redis",
"hash_ring",
"pika",
"requests==2.8.1",
"lxml",
"cssselect",
"pymongo"
],
package_data={'yascrapy.tests': ['test.html', '404_err.html']},
test_suite='nose.collector',
tests_require=['nose', 'nose-cover3'],
scripts=["bin/yascrapy_producer",
"bin/yascrapy_worker", "bin/yascrapy_cache"],
include_package_data=True
)