mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
added missing distutil imports
This commit is contained in:
parent
a587a1719d
commit
217cde293a
1 changed files with 3 additions and 1 deletions
4
setup.py
4
setup.py
|
@ -6,11 +6,13 @@ import os
|
|||
import sys
|
||||
try:
|
||||
from setuptools import setup
|
||||
from setuptools.command.install import install
|
||||
from setuptools.command.sdist import sdist
|
||||
from setuptools.command.install import install
|
||||
HAVE_SETUPTOOLS = True
|
||||
except ImportError:
|
||||
from distutils.core import setup
|
||||
from distutils.command.sdist import sdist as sdist
|
||||
from distutils.command.install import install as install
|
||||
HAVE_SETUPTOOLS = False
|
||||
|
||||
VERSION = '0.1.2'
|
||||
|
|
Loading…
Add table
Reference in a new issue