-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathsetup.py
63 lines (54 loc) · 1.77 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/usr/bin/env python
import os
import sys
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()
long_description = open('README.rst').read() + '\n\n' + open('HISTORY.rst').read()
license = open('LICENSE').read()
requirements_lines = [line.strip() for line in open('requirements.txt').readlines()]
install_requires = list(filter(None, requirements_lines))
packages = [
'haul',
'haul.finders',
'haul.finders.pipeline',
'haul.extenders',
'haul.extenders.pipeline',
]
setup(
name='haul',
version='1.3.2',
description='An Extensible Image Crawler',
long_description=long_description,
keywords='haul web image content scraper parser crawler',
author='Vinta Chen',
author_email='[email protected]',
url='https://github.com/vinta/Haul',
license=license,
install_requires=install_requires,
include_package_data=True,
packages=packages,
test_suite='tests',
zip_safe=False,
classifiers=(
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Natural Language :: Chinese (Traditional)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Multimedia :: Graphics',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
),
)