1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

cleanup setup.py indent for ease of add/remove things. also use find_package().

This commit is contained in:
Kenji Nagahashi 2014-02-19 23:37:44 +00:00
parent 531464902f
commit d0229b6b2d

View File

@ -1,22 +1,41 @@
#!/usr/bin/env python #!/usr/bin/env python
# vim: set sw=4 et: # vim: set sw=4 et:
import setuptools from setuptools import setup, find_packages
import glob import glob
setuptools.setup(name='pywb', setup(
version='0.2', name='pywb',
url='https://github.com/ikreymer/pywb', version='0.2',
author='Ilya Kreymer', url='https://github.com/ikreymer/pywb',
author_email='ilya@archive.org', author='Ilya Kreymer',
long_description=open('README.md').read(), author_email='ilya@archive.org',
license='GPL', long_description=open('README.md').read(),
packages=['pywb','pywb.utils','pywb.cdx','pywb.warc','pywb.rewrite'], license='GPL',
provides=['pywb','pywb.utils','pywb.cdx','pywb.warc','pywb.rewrite'], packages=find_packages(),
package_data={'pywb': ['ui/*', 'static/*'], 'pywb.cdx': ['*.yaml']}, provides=[
data_files = [('sample_archive/cdx/', glob.glob('sample_archive/cdx/*')), 'pywb','pywb.utils','pywb.cdx','pywb.warc','pywb.rewrite'
('sample_archive/warcs/', glob.glob('sample_archive/warcs/*'))], ],
install_requires=['uwsgi', 'rfc3987', 'chardet', 'redis', 'jinja2', 'surt', 'pyyaml', 'WebTest','pytest'], package_data={
# tests_require=['WebTest', 'pytest'], 'pywb': ['ui/*', 'static/*'],
zip_safe=False) 'pywb.cdx': ['*.yaml']
},
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',
'pytest',
],
# tests_require=['WebTest', 'pytest'],
zip_safe=False
)