UNKNOWN
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](https://pypi-hypernode.com/pypi/wheel)), which has until now simply been duplicated everywhere. Open source examples:
https://github.com/cfpb/complaint/blob/v1.2.3/setup.py#L20 https://github.com/cfpb/retirement/blob/0.5.0/setup.py#L20
We’ve also added a crucial check that allows front-end build failures to propogate up to Python. They previously ignored the result of subprocess.call and happily continued even if the frontend build failed.
## Dependencies
Python 2.7
## Installation
Edit your package’s ‘setup.py’ 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](https://github.com/cfpb/complaint/pull/10) demonstrates the kind of changes to make.
## Open source licensing info 1. [TERMS](TERMS.md) 2. [LICENSE](LICENSE) 3. [CFPB Source Code Policy](https://github.com/cfpb/source-code-policy/)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cfgov-setup-1.1.tar.gz
.
File metadata
- Download URL: cfgov-setup-1.1.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5097e09a628554ad97ea7ddafb0de3b083a60e0367944ef8d990865e545d262e |
|
MD5 | facc98a686b1ff73388ac90c632c0db6 |
|
BLAKE2b-256 | bf3450ec8dc4135b3e1aa1dd7d7ee7bf4fde71ac2dd99c17a526aa6abe9ea0a2 |
Provenance
File details
Details for the file cfgov_setup-1.1-py3-none-any.whl
.
File metadata
- Download URL: cfgov_setup-1.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad27bacf9ed27d0e46d051a50f50d632be2dba423a845efecfb31beed4d24891 |
|
MD5 | c5732cca148efa952384336b48462367 |
|
BLAKE2b-256 | f79f253fb3284d6b9d47527ab066b32980e6bbd352b6e8f19ed76f7d886279d0 |