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=[
|
2014-03-02 00:26:29 -08:00
|
|
|
'pywb',
|
|
|
|
'pywb.utils',
|
|
|
|
'pywb.cdx',
|
|
|
|
'pywb.warc',
|
|
|
|
'pywb.rewrite',
|
2014-03-02 23:41:44 -08:00
|
|
|
'pywb.framework'
|
2014-03-03 18:27:04 -08:00
|
|
|
'pywb.perms',
|
2014-03-02 00:26:29 -08:00
|
|
|
'pywb.core',
|
2014-03-02 19:26:06 -08:00
|
|
|
'pywb.apps'
|
2014-02-19 23:37:44 +00:00
|
|
|
],
|
|
|
|
package_data={
|
2014-02-28 12:23:48 -08:00
|
|
|
'pywb': ['ui/*', 'static/*', '*.yaml'],
|
2014-02-19 23:37:44 +00:00
|
|
|
},
|
|
|
|
data_files = [
|
|
|
|
('sample_archive/cdx/', glob.glob('sample_archive/cdx/*')),
|
2014-02-28 12:23:48 -08: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=[
|
|
|
|
'rfc3987',
|
|
|
|
'chardet',
|
|
|
|
'redis',
|
|
|
|
'jinja2',
|
|
|
|
'surt',
|
|
|
|
'pyyaml',
|
|
|
|
'WebTest',
|
|
|
|
'pytest',
|
|
|
|
],
|
|
|
|
# tests_require=['WebTest', 'pytest'],
|
|
|
|
zip_safe=False
|
|
|
|
)
|