2013-12-09 11:58:50 -08:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# vim: set sw=4 et:
|
|
|
|
|
2014-02-19 23:37:44 +00:00
|
|
|
from setuptools import setup, find_packages
|
2014-02-09 12:06:35 -08:00
|
|
|
import glob
|
2013-12-09 11:58:50 -08:00
|
|
|
|
2014-02-19 23:37:44 +00:00
|
|
|
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'
|
|
|
|
],
|
|
|
|
package_data={
|
|
|
|
'pywb': ['ui/*', 'static/*'],
|
|
|
|
'pywb.cdx': ['*.yaml']
|
|
|
|
},
|
|
|
|
data_files = [
|
|
|
|
('sample_archive/cdx/', glob.glob('sample_archive/cdx/*')),
|
2014-02-28 19:47:24 +00:00
|
|
|
('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/*'))],
|
2014-02-19 23:37:44 +00:00
|
|
|
],
|
|
|
|
install_requires=[
|
|
|
|
'uwsgi',
|
|
|
|
'rfc3987',
|
|
|
|
'chardet',
|
|
|
|
'redis',
|
|
|
|
'jinja2',
|
|
|
|
'surt',
|
|
|
|
'pyyaml',
|
|
|
|
'WebTest',
|
|
|
|
'pytest',
|
2014-02-20 09:58:08 +00:00
|
|
|
'werkzeug>=0.9.4',
|
|
|
|
'setuptools==0.9.7',
|
2014-02-19 23:37:44 +00:00
|
|
|
],
|
|
|
|
# tests_require=['WebTest', 'pytest'],
|
|
|
|
zip_safe=False
|
|
|
|
)
|
2013-12-09 11:58:50 -08:00
|
|
|
|