Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
Use setuptools when available
Browse files Browse the repository at this point in the history
This is necessary for providing wheels.  See #3.
  • Loading branch information
ddfisher committed May 23, 2016
1 parent 2b164a5 commit dbe0b35
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from distutils.core import setup, Extension
try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension

_ast27 = Extension(
'_ast27',
Expand Down

0 comments on commit dbe0b35

Please sign in to comment.