Permalink
Browse files

Use setuptools insted of distutils

--HG--
branch : sneakylang
  • Loading branch information...
1 parent 5314902 commit 77259096cf5fee207bbba18a36ce6932c6b8b5d6 almad committed Mar 6, 2009
Showing with 9 additions and 2 deletions.
  1. +9 −2 setup.py
View
11 setup.py
@@ -1,12 +1,19 @@
-"""Installs package using distutils
+"""Installs package using setuptools
Run:
python setup.py install
to install this package.
"""
-from distutils.core import setup
+try:
+ import ez_setup
+ ez_setup.use_setuptools()
+except ImportError:
+ pass
+
+from setuptools import setup
+
from distutils.command.install import INSTALL_SCHEMES
import sys
import sneakylang

0 comments on commit 7725909

Please sign in to comment.