Run Tests


In [ ]:
!cd .. && PYTHONWARNINGS=ignore python setup.py nosetests

Check Style


In [ ]:
!flake8 ../ipytangle/*.py ../*.py

Generate READMEs


In [ ]:
!ipython nbconvert README.ipynb --to=rst --stdout > ../README.rst
!ipython nbconvert README.ipynb --to=markdown --stdout > ../README.md

Do node stuff


In [ ]:
!cd .. && bower install

Prepare dist


In [2]:
!cd .. && rm -rf dist/* && cp -r inkscapelayers/static/inkscapelayers/* dist/

PyPi: release dry run


In [ ]:
!cd .. && python setup.py register -r pypitest
!cd .. && python setup.py sdist
!cd .. && python setup.py sdist upload -r pypitest

PyPi: release


In [ ]:
!cd .. && python setup.py register -r pypi
!cd .. && python setup.py sdist
!cd .. && python setup.py sdist upload -r pypi