We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63ab179 commit a050932Copy full SHA for a050932
setup.py
@@ -3,8 +3,11 @@
3
import os
4
import sys
5
6
-from distribute_setup import use_setuptools
7
-use_setuptools()
+try:
+ import setuptools
8
+except ImportError:
9
+ from distribute_setup import use_setuptools
10
+ use_setuptools()
11
from setuptools import setup, Extension
12
13
if not hasattr(sys, "hexversion") or sys.hexversion < 0x02040000:
0 commit comments