Skip to main content

How I learned to stop worrying and love the bower

Project description

The Laughing Robot

Or, how I learned not to rewrite bower in Python.

To answer the first, obvious question:

Why?

To allow Python developers/users access to bower components without requiring a node.js / npm infrastructure.

Very basic usage is implemented:

bower.py install <package> [version]

No dependencies are handled. Versions must be pinned.

INSTALLATION

This will work, preferably installed into a virtualenv:

pip install bower.py
bower.py <command>

This is even more self-contained:

pip install vex
vex -m bower pip install bower.py
vex bower bower.py <command>

Things I Learned About Bower

  1. bower supports git, svn, http static files, but in reality it supports github.com

  2. bower “packages” don’t even need to supply a bower.json


Copyright 2015, Richard Jones <richard@mechanicalcat.net> and Rackspace, US, Inc.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bower.py-1.0.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

bower.py-1.0-py2-none-any.whl (8.4 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page