Mercurial > python-cmd2
comparison setup.py @ 403:c4a821f40050
correct spacing on conditional setuptools
author | catherine@dellzilla |
---|---|
date | Tue, 16 Mar 2010 12:37:35 -0400 |
parents | 43ea72144e04 |
children | 49bd3dc5c205 |
comparison
equal
deleted
inserted
replaced
386:43ea72144e04 | 403:c4a821f40050 |
---|---|
2 try: | 2 try: |
3 from setuptools import setup, find_packages | 3 from setuptools import setup, find_packages |
4 except ImportError: | 4 except ImportError: |
5 from distutils.core import setup | 5 from distutils.core import setup |
6 def find_packages(): | 6 def find_packages(): |
7 return ['sqlpython'] | 7 return ['sqlpython'] |
8 import sys | 8 import sys |
9 | 9 |
10 python3 = sys.version_info[0] > 2 | 10 python3 = sys.version_info[0] > 2 |
11 if python3: | 11 if python3: |
12 install_requires = [] # will rely on local pyparsing_py3 copy | 12 install_requires = [] # will rely on local pyparsing_py3 copy |