mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-12-13 16:28:03 +00:00
python: Use setuptools if avilable
This commit is contained in:
parent
7c3fd911ee
commit
3c862d5c11
@ -10,7 +10,10 @@ from distutils import log
|
||||
from distutils import dir_util
|
||||
from distutils.command.build_clib import build_clib
|
||||
from distutils.command.sdist import sdist
|
||||
from distutils.core import setup
|
||||
try:
|
||||
from setuptools import setup
|
||||
except ImportError:
|
||||
from distutils import setup
|
||||
from distutils.sysconfig import get_python_lib
|
||||
|
||||
# prebuilt libraries for Windows - for sdist
|
||||
|
Loading…
Reference in New Issue
Block a user