Skip to main content


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](

Project details

Release history Release notifications | RSS feed

This version


Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page