mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 08:04:49 +01:00
support pluggable wsgi apps utils: BlockLoader() supports loading from package exceptions: base WbException moved to utils
49 lines
1.2 KiB
Python
Executable File
49 lines
1.2 KiB
Python
Executable File
#!/usr/bin/env python
|
|
# vim: set sw=4 et:
|
|
|
|
from setuptools import setup, find_packages
|
|
import glob
|
|
|
|
setup(
|
|
name='pywb',
|
|
version='0.2',
|
|
url='https://github.com/ikreymer/pywb',
|
|
author='Ilya Kreymer',
|
|
author_email='ilya@archive.org',
|
|
long_description=open('README.md').read(),
|
|
license='GPL',
|
|
packages=find_packages(),
|
|
provides=[
|
|
'pywb',
|
|
'pywb.utils',
|
|
'pywb.cdx',
|
|
'pywb.warc',
|
|
'pywb.rewrite',
|
|
'pywb.core',
|
|
'pywb.dispatch',
|
|
'pywb.bootstrap'
|
|
'pywb.apps'
|
|
],
|
|
package_data={
|
|
'pywb': ['ui/*', 'static/*', '*.yaml'],
|
|
},
|
|
data_files = [
|
|
('sample_archive/cdx/', glob.glob('sample_archive/cdx/*')),
|
|
('sample_archive/zipcdx/', glob.glob('sample_archive/zipcdx/*')),
|
|
('sample_archive/warcs/', glob.glob('sample_archive/warcs/*')),
|
|
('sample_archive/text_content/', glob.glob('sample_archive/text_content/*')),
|
|
],
|
|
install_requires=[
|
|
'rfc3987',
|
|
'chardet',
|
|
'redis',
|
|
'jinja2',
|
|
'surt',
|
|
'pyyaml',
|
|
'WebTest',
|
|
'pytest',
|
|
],
|
|
# tests_require=['WebTest', 'pytest'],
|
|
zip_safe=False
|
|
)
|