{ "info": { "author": "CFPB", "author_email": "tech@cfpb.gov", "bugtrack_url": null, "classifiers": [], "description": "# cfgov-setup\n\nThis 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.python.org/pypi/wheel)), which has until now simply been duplicated everywhere. Open source examples:\n\nhttps://github.com/cfpb/complaint/blob/v1.2.3/setup.py#L20\nhttps://github.com/cfpb/retirement/blob/0.5.0/setup.py#L20\n\nWe'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.\n\n\n## Dependencies\n\n- Python 2.7\n\n## Installation\n\nEdit 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.\n\n\n## Open source licensing info\n1. [TERMS](TERMS.md)\n2. [LICENSE](LICENSE)\n3. [CFPB Source Code Policy](https://github.com/cfpb/source-code-policy/)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cfpb/cfgov-django-setup", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "cfgovbuild", "package_url": "https://pypi.org/project/cfgovbuild/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cfgovbuild/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/cfpb/cfgov-django-setup" }, "release_url": "https://pypi.org/project/cfgovbuild/1.1/", "requires_dist": null, "requires_python": null, "summary": "UNKNOWN", "version": "1.1" }, "last_serial": 2382332, "releases": { "1.1": [] }, "urls": [] }