Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!


Project Description


This package provides common setuptools command utilities if you need to initialize your package with npm, bower or gulp commands.


You are supposed to create in your own package a Yeoman like project folder (for example: your_package/templates).

Add the build_commands dependency to your pretend your_package.

Update your setup.cfg adding the following:

npm = npm -i your_package/templates
bower = bower
gulp = gulp -i your_package/templates -g gulpfile.babel.js

If you are using bower you can add a .bowerrc file to your package root (where your setup.cfg file lives) with the following (see

  "directory": "bower_components",
  "cwd": "./your_package/templates/"

And update your entry points distutils commands:

npm = build_commands:NpmCommand
bower = build_commands:BowerCommand
gulp = build_commands:GulpCommand

This way once installed your your_package you can initialize your Yeoman project with:

$ python install/develop
$ python npm
$ python bower
$ python gulp

And all your frontend stuff will be processed automatically (SASS, minification, uglyfication, etc).


0.0.1 (2015-08-12)

  • Initial version
Release History

Release History

This version
History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
build_commands-0.0.1.tar.gz (5.4 kB) Copy SHA256 Checksum SHA256 Source Aug 11, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting