{ "info": { "author": "Jorge M. Faleiro Jr.", "author_email": "j@falei.ro", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# setup_utility\n\nUtility functions for setuptools utilities - my standard source checks, testing, cleanup, deployment, etc.\n\nSee [LICENSE](LICENSE) for important licensing information.\n\n## Installing\n\nYour `setup.py` will need `jfaleiro.setup_utility` to start - so you either make sure you have it pre-installed using pip:\n\n```bash\npip install jfaleiro.setup_utility\n```\n\nor add this on the very top of your `setup.py` and forget about it moving forward.\n\n```python\ntry:\n import setup_utility\nexcept ModuleNotFoundError as e:\n from pip._internal import main\n assert main('install jfaleiro.setup_utility'.split()) == 0\n\nfrom setup_utility import (\n BehaveTestCommand,\n CleanCommand,\n LicenseHeaderCommand,\n version_from_git,\n)\n```\n\nand\n\n```python\ncmd_classes = {\n 'license_headers': LicenseHeaderCommand,\n 'behave_test': BehaveTestCommand,\n 'clean': CleanCommand,\n}\n```\n\n## Using\n\n```bash\npython setup.py --help-commands\n```\n\nYou should have commands `license_headers`, `clean`, and `behave_test` listed. To know what you can configure try `python setup.py --help`:\n\n```bash\npython setup.py license_headers --help\n```\n\nYou can use command line parameters or add the same commands on `setup.cfg`:\n\n\n```\n[license_headers]\nheader-file = HEADER\n\n[aliases]\ntest=pytest\n\n[tool:pytest]\naddopts = --cov=setup_utility --cov-report html\n```\n\nYou can also produce your version number from standard git information (tag, branch name, and number of differences):\n\n```python\nsetup(\n\t...\n version=version_from_git(),\n\t...\n)\n```\n\nRelease tags `release/` with `nnn` differences from master will produce version `.dev` and a tagged version `` on master will produce the version ``. Everything else will produce `master.dev` for master or `no-version.dev` for any other branch. \n\n\nEnjoy.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/jfaleiro/setup_utility/tarball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/jfaleiro/setup_utility", "keywords": "", "license": "Affero GPL, see LICENSE for details", "maintainer": "", "maintainer_email": "", "name": "jfaleiro.setup-utility", "package_url": "https://pypi.org/project/jfaleiro.setup-utility/", "platform": "", "project_url": "https://pypi.org/project/jfaleiro.setup-utility/", "project_urls": { "Download": "https://github.com/jfaleiro/setup_utility/tarball/master", "Homepage": "https://gitlab.com/jfaleiro/setup_utility" }, "release_url": "https://pypi.org/project/jfaleiro.setup-utility/0.0.1/", "requires_dist": [ "behave", "nose (>=1.0)", "coverage", "mock", "pytest-runner", "pytest", "PyHamcrest" ], "requires_python": "", "summary": "Shared helpers for setuptools configuration", "version": "0.0.1" }, "last_serial": 5165730, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "2120ef1e053a3de7b47972f96ba9cd24", "sha256": "059afe7da8465a5c7f40935fd136dec1ed7905cbeb87edf074f79fed756aec37" }, "downloads": -1, "filename": "jfaleiro.setup_utility-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "2120ef1e053a3de7b47972f96ba9cd24", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16496, "upload_time": "2019-04-19T18:25:55", "url": "https://files.pythonhosted.org/packages/99/67/0c0ccbf5ee823ac1f0e225380797507ff508c9cada042ef411d5951baa09/jfaleiro.setup_utility-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "642f8e751e68e4a2bb6b14f8abba621b", "sha256": "28c2a263274ea384b0280f015347bc26f12e000c86cf0d849ed4c5080acd968c" }, "downloads": -1, "filename": "jfaleiro.setup_utility-0.0.1.tar.gz", "has_sig": false, "md5_digest": "642f8e751e68e4a2bb6b14f8abba621b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17075, "upload_time": "2019-04-19T18:25:57", "url": "https://files.pythonhosted.org/packages/66/2c/82593035212eecdc7bf91ab22e4cfcf9156108f1610954dad3d5a503f3cf/jfaleiro.setup_utility-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2120ef1e053a3de7b47972f96ba9cd24", "sha256": "059afe7da8465a5c7f40935fd136dec1ed7905cbeb87edf074f79fed756aec37" }, "downloads": -1, "filename": "jfaleiro.setup_utility-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "2120ef1e053a3de7b47972f96ba9cd24", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16496, "upload_time": "2019-04-19T18:25:55", "url": "https://files.pythonhosted.org/packages/99/67/0c0ccbf5ee823ac1f0e225380797507ff508c9cada042ef411d5951baa09/jfaleiro.setup_utility-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "642f8e751e68e4a2bb6b14f8abba621b", "sha256": "28c2a263274ea384b0280f015347bc26f12e000c86cf0d849ed4c5080acd968c" }, "downloads": -1, "filename": "jfaleiro.setup_utility-0.0.1.tar.gz", "has_sig": false, "md5_digest": "642f8e751e68e4a2bb6b14f8abba621b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17075, "upload_time": "2019-04-19T18:25:57", "url": "https://files.pythonhosted.org/packages/66/2c/82593035212eecdc7bf91ab22e4cfcf9156108f1610954dad3d5a503f3cf/jfaleiro.setup_utility-0.0.1.tar.gz" } ] }