[Python-modules-commits] [ipywidgets] 01/14: Unconditionally import setuptools to pick up dependencies
Gordon Ball
chronitis-guest at moszumanska.debian.org
Tue Nov 29 16:47:35 UTC 2016
This is an automated email from the git hooks/post-receive script.
chronitis-guest pushed a commit to branch master
in repository ipywidgets.
commit b01ecb3d9d3fc6d982eef5c2fd74136d84f920b5
Author: Gordon Ball <gordon at chronitis.net>
Date: Sun Nov 6 12:53:39 2016 +0100
Unconditionally import setuptools to pick up dependencies
---
setup.py | 3 +--
widgetsnbextension/setup.py | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/setup.py b/setup.py
index 9379b90..a1036f4 100644
--- a/setup.py
+++ b/setup.py
@@ -98,8 +98,7 @@ setup_args = dict(
},
)
-if 'develop' in sys.argv or any(a.startswith('bdist') for a in sys.argv):
- import setuptools
+import setuptools
setuptools_args = {}
install_requires = setuptools_args['install_requires'] = [
diff --git a/widgetsnbextension/setup.py b/widgetsnbextension/setup.py
index 5f39180..cc4515b 100644
--- a/widgetsnbextension/setup.py
+++ b/widgetsnbextension/setup.py
@@ -212,8 +212,7 @@ setup_args = dict(
include_package_data = True,
)
-if 'develop' in sys.argv or any(a.startswith('bdist') for a in sys.argv):
- import setuptools
+import setuptools
if 'setuptools' in sys.modules:
# setup.py develop should check for submodules
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/ipywidgets.git
More information about the Python-modules-commits
mailing list