1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 08:04:49 +01:00
pywb/setup.py
Ilya Kreymer 577c74be49 cdx: move perms related handling to pywb.perms package, support
custom processing ops, of which perms is a specific type
add lazy_ops test to ensure all cdx processing ops are lazy

perms: set up a 'perms policy' factory and perms policy implementation
perms policy setting results in a custom processing op
update tests to work with new config
IndexReader handles both cdx server + perms policy
2014-03-03 18:27:04 -08:00

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.framework'
'pywb.perms',
'pywb.core',
'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
)