2016-01-07 21:38:40 +10:00
|
|
|
#!/usr/bin/env python3
|
2015-07-18 10:29:49 +00:00
|
|
|
|
|
|
|
try:
|
|
|
|
from setuptools import setup
|
|
|
|
except ImportError:
|
|
|
|
from distutils.core import setup
|
|
|
|
|
2015-10-28 16:11:23 +00:00
|
|
|
import os
|
2015-12-12 10:08:02 +00:00
|
|
|
import sys
|
2015-07-18 10:29:49 +00:00
|
|
|
import libgrabsite
|
|
|
|
|
2015-10-28 16:11:23 +00:00
|
|
|
install_requires = [
|
2016-02-25 01:08:01 +00:00
|
|
|
"click>=6.3",
|
2021-05-10 00:55:45 +00:00
|
|
|
"wpull @ https://github.com/ArchiveTeam/ludios_wpull/tarball/master#egg=wpull-3.0.8",
|
2015-10-28 16:11:23 +00:00
|
|
|
"manhole>=1.0.0",
|
2016-02-25 01:08:01 +00:00
|
|
|
"lmdb>=0.89",
|
|
|
|
"autobahn>=0.12.1",
|
2018-10-09 16:20:09 +00:00
|
|
|
"fb-re2>=1.0.6",
|
2018-10-07 21:22:33 +00:00
|
|
|
"websockets>=6.0",
|
2015-10-28 16:11:23 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
if 'GRAB_SITE_NO_CCHARDET' not in os.environ:
|
2016-02-25 01:08:01 +00:00
|
|
|
install_requires.append("cchardet>=1.0.0")
|
2015-10-28 16:11:23 +00:00
|
|
|
|
2015-07-18 10:29:49 +00:00
|
|
|
setup(
|
|
|
|
name="grab-site",
|
|
|
|
version=libgrabsite.__version__,
|
|
|
|
description="The archivist's web crawler: WARC output, dashboard for all crawls, dynamic ignore patterns",
|
2016-05-27 13:53:35 +00:00
|
|
|
url="https://ludios.org/grab-site/",
|
2015-07-18 10:29:49 +00:00
|
|
|
author="Ivan Kozik",
|
|
|
|
author_email="ivan@ludios.org",
|
|
|
|
classifiers=[
|
|
|
|
"Programming Language :: Python :: 3",
|
2018-03-06 06:29:07 +00:00
|
|
|
"Development Status :: 5 - Production/Stable",
|
2015-07-18 10:29:49 +00:00
|
|
|
"Intended Audience :: End Users/Desktop",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
"Topic :: Internet :: WWW/HTTP",
|
|
|
|
],
|
2015-07-28 11:26:10 +00:00
|
|
|
scripts=["grab-site", "gs-server", "gs-dump-urls"],
|
2015-07-18 10:29:49 +00:00
|
|
|
packages=["libgrabsite"],
|
2016-05-22 11:01:53 +00:00
|
|
|
package_data={"libgrabsite": ["*.html", "*.ico", "*.txt", "ignore_sets/*"]},
|
2018-10-04 11:13:35 +00:00
|
|
|
install_requires=install_requires,
|
2015-07-18 10:29:49 +00:00
|
|
|
)
|