Skip to content

Commit

Permalink
Remove obsolete docker-py check in setup.py
Browse files Browse the repository at this point in the history
Signed-off-by: Joffrey F <joffrey@docker.com>
  • Loading branch information
shin- committed Apr 25, 2018
1 parent e1ab545 commit accb9de
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,9 @@

import codecs
import os
import sys

import pip

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__)
SOURCE_DIR = os.path.join(ROOT_DIR)

Expand Down

0 comments on commit accb9de

Please sign in to comment.