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

setup: set version in pywb __init__.py

This commit is contained in:
Ilya Kreymer 2015-03-23 11:04:41 -07:00
parent ced0ed208e
commit 0faa6aac3e
2 changed files with 7 additions and 3 deletions

View File

@ -1,8 +1,10 @@
import os
__version__ = '0.9.0'
DEFAULT_CONFIG = 'pywb/default_config.yaml'
def get_test_dir():
import os
return os.path.join(os.path.dirname(os.path.realpath(__file__)),
'..',
'sample_archive') + os.path.sep

View File

@ -5,6 +5,8 @@ from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import glob
from pywb import __version__
# Fix for TypeError: 'NoneType' object is not callable" error
# when running 'python setup.py test'
@ -34,11 +36,11 @@ class PyTest(TestCommand):
setup(
name='pywb',
version='0.9.0b2',
version=__version__,
url='https://github.com/ikreymer/pywb',
author='Ilya Kreymer',
author_email='ikreymer@gmail.com',
description='Python WayBack Machine for web archive replay',
description='Python WayBack for web archive replay and live web proxy',
long_description=long_description,
license='GPL',
packages=find_packages(),