forked from bartdag/pylinkvalidator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
49 lines (44 loc) · 1.58 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
#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import sys
version = __import__('pylinkvalidator').__version__
if sys.version_info[0] >= 3:
requires = ['beautifulsoup4>=4.2.0']
else:
requires = []
setup(
name='pylinkvalidator',
version=version,
description='Simple crawler that detects link errors such as 404 and 500.',
long_description='''
pylinkvalidator is a simple crawler that traverses a web sites and reports
errors (e.g., 500 and 404 errors) encountered. The crawler can try to download
resources like images.
''',
author='Barthelemy Dagenais',
author_email='[email protected]',
license='BSD License',
url='https://github.com/bartdag/pylinkvalidator',
packages=['pylinkvalidator', 'pylinkvalidator.included',
'pylinkvalidator.included.bs4',
'pylinkvalidator.included.bs4.builder'],
scripts=['pylinkvalidator/bin/pylinkvalidate.py'],
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Topic :: Internet :: WWW/HTTP :: Site Management :: Link Checking',
'Topic :: Utilities',
],
install_requires=requires,
)