Commit graph

6 commits

Author SHA1 Message Date
Simon Willison
9e412016a2 Releasing 0.5 2018-07-05 20:18:37 -07:00
Simon Willison
70d4688161 setup.py build_static now runs npm install - refs #8 2018-07-05 17:16:20 -07:00
Simon Willison
82fcccae87 Fix for #9 - image should show on PyPI now 2018-06-29 12:37:28 -05:00
Simon Willison
682da1f7ac New "Show charting options" button
Also switched to using a ref= for the vega element.

Ready for 0.3 release.
2018-06-29 08:11:30 -05:00
Simon Willison
f19ed314d5 Fix collision with datasette-cluster-map
It was not possible to install both plugins at the same time.
2018-06-28 09:43:10 -05:00
Simon Willison
e6c0fec074 Packaged everything up as a Datasette plugin
I used a variant on the pattern described here to run "npm run build" when
creating the wheel:

http://cra.mr/2014/12/19/distributing-js-with-python

To generate just the static assets (in datasette_vega/static) run this:

	python3 setup.py build_static

To build the package (and automatically run the above) do this:

	python3 setup.py bdist_wheel
2018-06-25 20:06:28 -07:00