[Python-modules-commits] [jupyter-notebook] 09/19: Debian-specific hack to fix upstream's (non-)incremental build
Gordon Ball
chronitis-guest at moszumanska.debian.org
Sun Sep 17 21:08:59 UTC 2017
This is an automated email from the git hooks/post-receive script.
chronitis-guest pushed a commit to branch master
in repository jupyter-notebook.
commit 15e7289b8afb8f3c2f2ddda0601b115bda7ad30a
Author: Ximin Luo <infinity0 at debian.org>
Date: Wed Dec 7 21:54:46 2016 +0100
Debian-specific hack to fix upstream's (non-)incremental build
---
setup.py | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/setup.py b/setup.py
index d409dce..509038c 100755
--- a/setup.py
+++ b/setup.py
@@ -113,15 +113,18 @@ from distutils.command.build_py import build_py
from distutils.command.sdist import sdist
-setup_args['cmdclass'] = {
- 'build_py': css_js_prerelease(
- check_package_data_first(build_py)),
- 'sdist' : css_js_prerelease(sdist, strict=True),
- 'css' : CompileCSS,
- 'js' : CompileJS,
- 'jsdeps' : Bower,
- 'jsversion' : JavascriptVersion,
-}
+if os.path.exists("debian/debhelper-build-stamp"):
+ setup_args['cmdclass'] = {}
+else:
+ setup_args['cmdclass'] = {
+ 'build_py': css_js_prerelease(
+ check_package_data_first(build_py)),
+ 'sdist' : css_js_prerelease(sdist, strict=True),
+ 'css' : CompileCSS,
+ 'js' : CompileJS,
+ 'jsdeps' : Bower,
+ 'jsversion' : JavascriptVersion,
+ }
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/jupyter-notebook.git
More information about the Python-modules-commits
mailing list