We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4699cfd commit 9c6d76fCopy full SHA for 9c6d76f
setup.py
@@ -1,10 +1,20 @@
1
#!/usr/bin/env python
2
+from __future__ import print_function
3
+
4
import codecs
5
import os
6
import sys
7
8
+import pip
9
10
from setuptools import setup, find_packages
11
12
+if 'docker-py' in [x.project_name for x in pip.get_installed_distributions()]:
13
+ print(
14
+ 'ERROR: "docker-py" needs to be uninstalled before installing this'
15
+ ' package:\npip uninstall docker-py', file=sys.stderr
16
+ )
17
+ sys.exit(1)
18
19
ROOT_DIR = os.path.dirname(__file__)
20
SOURCE_DIR = os.path.join(ROOT_DIR)
0 commit comments