mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
add sample data to dist egg to allow tests against the installed package
This commit is contained in:
parent
232ac733ab
commit
2a828fab32
3
setup.py
3
setup.py
@ -2,6 +2,7 @@
|
||||
# vim: set sw=4 et:
|
||||
|
||||
import setuptools
|
||||
import glob
|
||||
|
||||
setuptools.setup(name='pywb',
|
||||
version='0.1',
|
||||
@ -13,6 +14,8 @@ setuptools.setup(name='pywb',
|
||||
packages=['pywb'],
|
||||
provides=['pywb'],
|
||||
package_data={'pywb': ['ui/*', 'static/*']},
|
||||
data_files = [('sample_archive/cdx/', glob.glob('sample_archive/cdx/*')),
|
||||
('sample_archive/warcs/', glob.glob('sample_archive/warcs/*'))],
|
||||
install_requires=['uwsgi', 'rfc3987', 'chardet', 'redis', 'jinja2', 'surt', 'pyyaml', 'WebTest'],
|
||||
tests_require=['WebTest', 'pytest'],
|
||||
zip_safe=False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user