forked from scraping-xx/Spyder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
70 lines (65 loc) · 2.11 KB
/
setup.py
File metadata and controls
70 lines (65 loc) · 2.11 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#
# Copyright (c) 2008 Daniel Truemper truemped@googlemail.com
#
# setup.py 04-Jan-2011
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# under the License.
#
#
from setuptools import setup, find_packages
import re
__version__ = re.search( "__version__\s*=\s*'(.*)'", open('src/spyder/__init__.py').read(), re.M).group(1)
assert __version__
long_description = open("README.rst").read()
assert long_description
tests_require = ['coverage>=3.4', 'nose==1.1.2']
setup(
name = "spyder",
version = __version__,
description = "A python spider",
long_description = long_description,
author = "Daniel Truemper",
author_email = "truemped@googlemail.com",
url = "",
license = "Apache 2.0",
package_dir = { '' : 'src' },
packages = find_packages('src'),
include_package_data = True,
test_suite = 'nose.collector',
install_requires = [
'pyzmq>=2.0.10',
'tornado>=1.1',
'thrift>=0.5.0',
'pycurl>=7.19.0',
'pytz>=2010o',
'brownie>=0.4.1',
],
tests_require = tests_require,
extras_require = {'test': tests_require},
entry_points = {
'console_scripts' : [
'spyder = spyder:spyder_admin_main',
]
},
classifiers = [
'Intended Audience :: Developers',
'Development Status :: 3 - Alpha',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.6',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
]
)