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

# cfgov-setup

This package provides a central home for our logic for building front-end assets as part of the Python build process (for example, when generating a [wheel](, which has until now simply been duplicated everywhere. Open source examples:

We’ve also added a crucial check that allows front-end build failures to propogate up to Python. They previously ignored the result of and happily continued even if the frontend build failed.

## Dependencies

  • Python 2.7

## Installation

Edit your package’s ‘’ to require this module at build-time (setup_requires=['cfgov-setup']), and set the ‘do_frontend_build’ keyword in the setup arguments. [This pull request]( demonstrates the kind of changes to make.

## Open source licensing info 1. [TERMS]( 2. [LICENSE](LICENSE) 3. [CFPB Source Code Policy](

Release History

This version
History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(1.9 kB) Copy SHA256 Hash SHA256
Source None Oct 5, 2016

Supported By

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 Google Google Cloud Servers