Skip to content
This repository has been archived by the owner on May 3, 2020. It is now read-only.

inveniosoftware-attic/setuptools-bower

Repository files navigation

setuptools-bower

https://travis-ci.org/inveniosoftware/setuptools-bower.png?branch=master https://coveralls.io/repos/inveniosoftware/setuptools-bower/badge.png?branch=master https://pypip.in/v/setuptools-bower/badge.png https://pypip.in/d/setuptools-bower/badge.png

About

setuptools-bower provides setuptools commands for integrating bower.

Usage

setuptools-bower is on PyPI so all you need is:

pip install setuptools-bower

Then from within your Python package, you can now run:

python setup.py install_bower

This will run `bower install` in the directory and is thus expecting to find a `bower.json` and respect any configuration in a `.bowerrc` file.

In your `setup.cfg` you may setup aliases to combine bower installation with your normal install:

[aliases]
install_all = install_bower install

Documentation

Documentation is readable at http://setuptools-bower.readthedocs.org or can be build using Sphinx:

git submodule init
git submodule update
pip install Sphinx
python setup.py build_sphinx

Testing

Running the test suite is as simple as:

python setup.py test

or, to also show test coverage:

./run-tests.sh