-
Notifications
You must be signed in to change notification settings - Fork 537
/
setup.py
47 lines (43 loc) · 1.4 KB
/
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
42
43
44
45
46
47
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup, find_packages
path = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, path)
cola = __import__('cola')
version = cola.VERSION
long_description = None
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
long_description = f.read()
setup(
name='Cola',
version=version,
url='http://colaframework.org',
description='A high-level distributed crawling framework',
long_description=long_description,
author='qin',
author_email='[email protected]',
license='Apache 2',
packages=find_packages(exclude=('tests', 'tests.*')),
include_package_data=True,
entry_points={
'console_scripts': ['coca = cola.cmdline:execute']
},
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Clustering'
],
install_requires=[
'pyyaml'
]
)