mirror of https://github.com/docker/docker-py.git
Remove obsolete docker-py check in setup.py
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
e1ab5457ca
commit
accb9de52f
14
setup.py
14
setup.py
|
@ -3,23 +3,9 @@ from __future__ import print_function
|
||||||
|
|
||||||
import codecs
|
import codecs
|
||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
|
|
||||||
import pip
|
|
||||||
|
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
try:
|
|
||||||
if 'docker-py' in [
|
|
||||||
x.project_name for x in pip.get_installed_distributions()]:
|
|
||||||
print(
|
|
||||||
'ERROR: "docker-py" needs to be uninstalled before installing this'
|
|
||||||
' package:\npip uninstall docker-py', file=sys.stderr
|
|
||||||
)
|
|
||||||
sys.exit(1)
|
|
||||||
except AttributeError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
ROOT_DIR = os.path.dirname(__file__)
|
ROOT_DIR = os.path.dirname(__file__)
|
||||||
SOURCE_DIR = os.path.join(ROOT_DIR)
|
SOURCE_DIR = os.path.join(ROOT_DIR)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue