[Lxml-checkins] r44702 - lxml/branch/lxml-1.3
scoder at codespeak.net
scoder at codespeak.net
Tue Jul 3 15:27:16 CEST 2007
Author: scoder
Date: Tue Jul 3 15:27:16 2007
New Revision: 44702
Modified:
lxml/branch/lxml-1.3/setup.py
Log:
small setup simplification
Modified: lxml/branch/lxml-1.3/setup.py
==============================================================================
--- lxml/branch/lxml-1.3/setup.py (original)
+++ lxml/branch/lxml-1.3/setup.py Tue Jul 3 15:27:16 2007
@@ -1,14 +1,14 @@
import sys, os
try:
+ import pkg_resources
try:
- import pkg_resources
pkg_resources.require("setuptools>=0.6c5")
except pkg_resources.VersionConflict, e:
from ez_setup import use_setuptools
use_setuptools(version="0.6c5")
from setuptools import setup
-except (ImportError, NameError), e:
+except ImportError:
# not setuptools installed
from distutils.core import setup
More information about the lxml-checkins
mailing list