__version__

This commit is contained in:
Kenneth Reitz
2011-06-21 20:17:05 -04:00
parent 974258094e
commit 415bc819e7
2 changed files with 5 additions and 8 deletions
+3 -7
View File
@@ -4,6 +4,8 @@
import os
import sys
import tablib
try:
from setuptools import setup
except ImportError:
@@ -35,14 +37,9 @@ if sys.argv[-1] == 'test':
os.system('pytest test_tablib.py')
sys.exit()
required = []
if sys.version_info[:2] < (2,6):
required.append('simplejson')
setup(
name='tablib',
version='0.9.8',
version=tablib.__version__,
description='Format agnostic tabular data library (XLS, JSON, YAML, CSV)',
long_description=open('README.rst').read() + '\n\n' +
open('HISTORY.rst').read(),
@@ -62,7 +59,6 @@ setup(
'tablib.packages.yaml',
'tablib.packages.unicodecsv'
],
install_requires=required,
license='MIT',
classifiers=(
'Development Status :: 5 - Production/Stable',
+2 -1
View File
@@ -3,6 +3,7 @@
from tablib.core import (
Databook, Dataset, detect, import_set,
InvalidDatasetType, InvalidDimensions, UnsupportedFormat
InvalidDatasetType, InvalidDimensions, UnsupportedFormat,
__version__
)