Browse files

re-enable manual egg building by importing setuptools/distribute if a…

…vailable
  • Loading branch information...
1 parent 36b7599 commit 3cdcb4f9e09577b85941da08cda9648d83004593 @scoder scoder committed Mar 29, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 setup.py
View
6 setup.py
@@ -1,7 +1,6 @@
import os
import re
import sys
-import glob
import fnmatch
# for command line options and supported environment variables, please
@@ -14,7 +13,10 @@
except ImportError:
pass
-from distutils.core import setup
+try:
+ from setuptools import setup
+except ImportError:
+ from distutils.core import setup
import versioninfo
import setupinfo

0 comments on commit 3cdcb4f

Please sign in to comment.