Install and run
conda install vega --channel conda-forge
The above command automatically installs all dependencies and enables the ipyvega Jupyter notebook extension.
Python Package Index
vega and its dependencies from the Python Package Index using
pip, use the following commands:
pip install jupyter pandas vega jupyter nbextension install --py vega
To install from source, make sure you have
then download this repository and run
python setup.py install
Once the package is installed, run
To run the notebooks yourself, you need to get the file
pip install -r requirements.txt
Symlink files instead of copying files:
python setup.py develop jupyter nbextension install --py --symlink vega
npm run watch.
Publish a new version to pypi with
python3 setup.py sdist upload.
How to make a release
npm run build
- Make sure that everything still works (launch notebook and try the examples)
- Update the version number in
- Commit and add a version tag of the form
git push --tags && git push
python setup.py sdist uploadto update https://pypi.python.org/pypi?%3Aaction=pkg_edit&name=vega
How to implement an nbextension.