Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use setuptools insted of distutils

--HG--
branch : sneakylang
  • Loading branch information...
commit 77259096cf5fee207bbba18a36ce6932c6b8b5d6 1 parent 5314902
almad authored
Showing with 9 additions and 2 deletions.
  1. +9 −2 setup.py
View
11 setup.py
@@ -1,4 +1,4 @@
-"""Installs package using distutils
+"""Installs package using setuptools
Run:
python setup.py install
@@ -6,7 +6,14 @@
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.
Something went wrong with that request. Please try again.