9f071a706d
Specifically, this solves a problem where trollius is too old to have ensure_future.
38 lines
933 B
Python
38 lines
933 B
Python
#!/usr/bin/python3
|
|
|
|
try:
|
|
from setuptools import setup
|
|
except ImportError:
|
|
from distutils.core import setup
|
|
|
|
import libgrabsite
|
|
|
|
setup(
|
|
name="grab-site",
|
|
version=libgrabsite.__version__,
|
|
description="The archivist's web crawler: WARC output, dashboard for all crawls, dynamic ignore patterns",
|
|
url="https://github.com/ludios/grab-site",
|
|
author="Ivan Kozik",
|
|
author_email="ivan@ludios.org",
|
|
classifiers=[
|
|
"Programming Language :: Python :: 3",
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: End Users/Desktop",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Topic :: Internet :: WWW/HTTP",
|
|
],
|
|
scripts=["grab-site", "gs-server", "gs-dump-urls"],
|
|
packages=["libgrabsite"],
|
|
package_data={"libgrabsite": ["*.html", "ignore_sets/*"]},
|
|
install_requires=[
|
|
"click>=4.1",
|
|
"wpull>=1.2.1",
|
|
"cchardet>=0.3.5",
|
|
"manhole>=1.0.0",
|
|
"lmdb>=0.86",
|
|
"autobahn>=0.10.4",
|
|
"aiohttp>=0.16.6",
|
|
"trollius>=2"
|
|
],
|
|
)
|