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

Commit dbe0b35

Browse files
committed
Use setuptools when available
This is necessary for providing wheels. See #3.
1 parent 2b164a5 commit dbe0b35

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
from distutils.core import setup, Extension
1+
try:
2+
from setuptools import setup, Extension
3+
except ImportError:
4+
from distutils.core import setup, Extension
25

36
_ast27 = Extension(
47
'_ast27',

0 commit comments

Comments
 (0)