Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod From: Diane Trout Newsgroups: linux.debian.maint.python Subject: Re: Packaging Bokeh Date: Sun, 06 Sep 2015 06:50:02 +0200 Message-ID: References: X-Original-To: "W. Martin Borgert" X-Mailbox-Line: From debian-python-request@lists.debian.org Sun Sep 6 04:48:33 2015 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.5 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, CAPINIT=0.5, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_FROM_MX=-3.1; rate: -6.1 User-Agent: KMail/4.14.2 (Linux/4.1.0-1-amd64; KDE/4.14.2; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Mailing-List: archive/latest/12553 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/1853012.zaHOaHrhJj@myrada Approved: robomod@news.nic.it Lines: 23 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-python@lists.debian.org X-Original-Date: Sat, 05 Sep 2015 21:48:16 -0700 X-Original-Message-ID: <1853012.zaHOaHrhJj@myrada> X-Original-References: <2046623.4LEmuCvnNS@myrada> <20150905075726.GA21231@fama> <1618427.6KU7tF2LhO@myrada> Xref: csiph.com linux.debian.maint.python:7246 On Saturday, September 05, 2015 09:28:48 Diane Trout wrote: > > > The most proper packaging would require grunt to be able to rebuild > > > bokeh.js. I was wondering if releasing the pypi version would be good > > > enough. (The package does at least contain a non-minimized version of > > > bokeh.js) > > > > I'm not sure about this, but it looks like the Bokeh source is a > > huge directory of coffeescript files, while the resulting > > bokeh.js is not the source code. So build is: 1. coffee -> js > > 2. concat all js. Maybe its possible without grunt, just like > > Antonio did with jQuery? > > That's a good idea. I'll investigate. It looks like there's something complicated going on with how BokehJS is built. grunt loads some browserfy plugins, one for templates and one for handling coffee script files. It looks like browserfy is providing something like import semantics. Faking grunt with a makefile may be pretty challenging. Diane