diff options
| -rwxr-xr-x | setup.py | 9 | ||||
| -rw-r--r-- | tablib/core.py | 4 |
2 files changed, 10 insertions, 3 deletions
@@ -12,6 +12,13 @@ except ImportError: from distutils.core import setup, find_packages +packages = find_packages(exclude=('docs',)) + +if sys.version_info[:2] < (3,0): + packages = [p for p in packages if '3' not in p] +else: + packages = [p for p in packages if '2' not in p] + if sys.argv[-1] == 'publish': os.system("python setup.py sdist upload") sys.exit() @@ -45,7 +52,7 @@ setup( author='Kenneth Reitz', author_email='me@kennethreitz.com', url='http://tablib.org', - packages=find_packages(exclude=('docs',)), + packages=packages, license='MIT', classifiers=( 'Development Status :: 5 - Production/Stable', diff --git a/tablib/core.py b/tablib/core.py index 482ad32..252c1ab 100644 --- a/tablib/core.py +++ b/tablib/core.py @@ -18,8 +18,8 @@ from tablib.compat import OrderedDict __title__ = 'tablib' -__version__ = '0.9.9' -__build__ = 0x000909 +__version__ = '0.9.10' +__build__ = 0x000910 __author__ = 'Kenneth Reitz' __license__ = 'MIT' __copyright__ = 'Copyright 2011 Kenneth Reitz' |
