mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
port wsgi cdx server tests to test new app! move base handlers to basehandlers in framework pkg (remove werkzeug dependency)
48 lines
1.2 KiB
Python
Executable File
48 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.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
|
|
)
|