mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-22 00:24:37 +00:00
disable setuptools XXX
This commit is contained in:
parent
4d7bb9f0d2
commit
254471e311
20
setup.py
20
setup.py
|
@ -13,16 +13,18 @@ import sys
|
|||
import shutil
|
||||
from os.path import isdir, exists, join, walk
|
||||
|
||||
try:
|
||||
from setuptools import setup
|
||||
from setuptools.command import install_lib
|
||||
USE_SETUPTOOLS = 1
|
||||
except ImportError:
|
||||
from distutils.core import setup
|
||||
from distutils.command import install_lib
|
||||
USE_SETUPTOOLS = 0
|
||||
# FIXME : setup.py doesn't work with setuptools so we use distutils
|
||||
|
||||
assert USE_SETUPTOOLS
|
||||
#try:
|
||||
#from setuptools import setup
|
||||
#from setuptools.command import install_lib
|
||||
#USE_SETUPTOOLS = 1
|
||||
#except ImportError:
|
||||
from distutils.core import setup
|
||||
from distutils.command import install_lib
|
||||
USE_SETUPTOOLS = 0
|
||||
|
||||
#assert USE_SETUPTOOLS
|
||||
|
||||
# import required features
|
||||
from __pkginfo__ import modname, version, license, short_desc, long_desc, \
|
||||
|
|
Loading…
Reference in New Issue
Block a user