better setup.py pattern

This commit is contained in:
Kenneth Reitz
2011-06-21 19:05:27 -04:00
parent a53e4bda9c
commit 80c38b5700
+4 -2
View File
@@ -4,8 +4,10 @@
import os
import sys
from setuptools import setup
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':