Setuptools commands for integrating bower.
setuptools-bower provides setuptools commands for integrating bower.
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 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
Running the test suite is as simple as:
python setup.py test
or, to also show test coverage:
Copyright (C) 2013, 2014 CERN.
setuptools-bower is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
setuptools-bower is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with setuptools-bower; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
In applying this licence, CERN does not waive the privileges and immunities granted to it by virtue of its status as an Intergovernmental Organization or submit itself to any jurisdiction.