diff options
| author | Kenneth Reitz <me@kennethreitz.com> | 2011-06-23 06:46:24 -0400 |
|---|---|---|
| committer | Kenneth Reitz <me@kennethreitz.com> | 2011-06-23 06:46:24 -0400 |
| commit | 9b235150cf58721596a2ca650e26237b1fd59aba (patch) | |
| tree | 614371e04be1c0ac7b62cb434e9724e163b87bba /setup.py | |
| parent | 9f3e6eeaa15bf400a2e223214d38acf50b393501 (diff) | |
| download | tablib-9b235150cf58721596a2ca650e26237b1fd59aba.tar.gz | |
v0.9.10 (packaging fix)v0.9.10
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 9 |
1 files changed, 8 insertions, 1 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', |
