{ "info": { "author": "FiaaS developers", "author_email": "fiaas@googlegroups.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet", "Topic :: Software Development :: Build Tools", "Topic :: System :: Software Distribution" ], "description": "publish - Tool to create a release of a Python package\n======================================================\n\n|Build Status| |Codacy Quality Badge| |Codacy Coverage Badge|\n\n\n.. |Build Status| image:: https://semaphoreci.com/api/v1/fiaas/publish/branches/master/badge.svg\n :target: https://semaphoreci.com/fiaas/publish\n.. |Codacy Quality Badge| image:: https://api.codacy.com/project/badge/Grade/bd7d31c7ceac43eb81884b2adc4ba3ed\n :target: https://www.codacy.com/app/fiaas/publish?utm_source=github.com&utm_medium=referral&utm_content=fiaas/publish&utm_campaign=Badge_Grade\n.. |Codacy Coverage Badge| image:: https://api.codacy.com/project/badge/Coverage/bd7d31c7ceac43eb81884b2adc4ba3ed\n :target: https://www.codacy.com/app/fiaas/publish?utm_source=github.com&utm_medium=referral&utm_content=fiaas/publish&utm_campaign=Badge_Coverage\n\npublish is a tool to package and release a python project. It will create a changelog and upload artifacts to Github and PyPI.\n\nIt is created for and by the `FIAAS project`_, and used for most of our projects.\n\n.. _`FIAAS project`: https://github.com/fiaas\n\n\nUsage\n-----\n\nIn order to use publish, you must first install it::\n\n pip install publish\n\n\nUnder the covers, publish uses github-release_ and twine_ to do most of the work, and those tools require credentials for Github and PyPI to be available in environment variables::\n\n export GITHUB_TOKEN=gh-token\n export TWINE_USERNAME=pypi-user\n export TWINE_PASSWORD=pypi-pass\n\nIn order to know where to upload the artifacts, you must specify an organization, and a repository::\n\n publish fiaas k8s\n\n\nBefore uploading anything, publish will verify that the current checkout is suitable to be released, and checks the following items:\n\n* Are all files either ignored or in version control?\n* Is every change committed?\n* Is the currently checked out code tagged with an annotated tag?\n* Does that tag use the convention ``v..``?\n\nIf the answer to all of these is yes, the name of the tag is used as the version to release. A changelog is generated from the git log, source tarballs and wheels are built, the release is created in Github and PyPI, and the files are uploaded.\n\n.. _github-release: https://github.com/j0057/github-release\n.. _twine: https://github.com/pypa/twine\n\n\nChanges since last version\n--------------------------\n\n* `ec150cb`_: Change name to fiaas-publish, and use githubrelease library\n* `8569bc2`_: Set a returncode to reflect errors when uploading artifacts\n* `a2879ac`_: Bump versions of dependencies\n\n.. _a2879ac: https://github.com/fiaas/publish/commit/a2879ac\n.. _ec150cb: https://github.com/fiaas/publish/commit/ec150cb\n.. _8569bc2: https://github.com/fiaas/publish/commit/8569bc2\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/fiaas/publish", "keywords": "pypi github fiaas", "license": "Apache License", "maintainer": "", "maintainer_email": "", "name": "fiaas-publish", "package_url": "https://pypi.org/project/fiaas-publish/", "platform": "", "project_url": "https://pypi.org/project/fiaas-publish/", "project_urls": { "Homepage": "https://github.com/fiaas/publish" }, "release_url": "https://pypi.org/project/fiaas-publish/0.2.0/", "requires_dist": [ "six (==1.12.0)", "GitPython (==2.1.11)", "twine (==1.12.1)", "githubrelease (==1.5.8)", "codacy-coverage; extra == 'codacy'", "tox (==3.6.1); extra == 'dev'", "mock (==2.0.0); extra == 'dev'", "pytest (==4.0.2); extra == 'dev'", "pytest-cov (==2.6.0); extra == 'dev'", "pytest-html (==1.19.0); extra == 'dev'", "pytest-sugar (==0.9.2); extra == 'dev'", "prospector; extra == 'dev'", "Sphinx (>=1.6.3); extra == 'docs'" ], "requires_python": "", "summary": "Publish python package to PyPI and Github", "version": "0.2.0" }, "last_serial": 4676067, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "8be63d7914edbc45724bf235317bd6b5", "sha256": "64a0ad0bfb8343bfe12bffdb54e931c3ae5d3ea8a65249b0ebd7fd66653b0914" }, "downloads": -1, "filename": "fiaas_publish-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8be63d7914edbc45724bf235317bd6b5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6012, "upload_time": "2019-01-09T09:39:01", "url": "https://files.pythonhosted.org/packages/2f/82/768b045ed80d45ad57342d9115be17e19b81ac8ad87f4075d332f2252a8e/fiaas_publish-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "99cad06b3693032abd903fbce45f5431", "sha256": "39705b2363642dafdb89145d2d4447966c4687815eed78d09690bc5efc0b9bb9" }, "downloads": -1, "filename": "fiaas-publish-0.2.0.tar.gz", "has_sig": false, "md5_digest": "99cad06b3693032abd903fbce45f5431", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13495, "upload_time": "2019-01-09T09:39:04", "url": "https://files.pythonhosted.org/packages/3e/cb/7caed81977b0c0be5ed7c33c7ac7d2810b2d7c9a815e03dd9cbd5319ecb5/fiaas-publish-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8be63d7914edbc45724bf235317bd6b5", "sha256": "64a0ad0bfb8343bfe12bffdb54e931c3ae5d3ea8a65249b0ebd7fd66653b0914" }, "downloads": -1, "filename": "fiaas_publish-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8be63d7914edbc45724bf235317bd6b5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6012, "upload_time": "2019-01-09T09:39:01", "url": "https://files.pythonhosted.org/packages/2f/82/768b045ed80d45ad57342d9115be17e19b81ac8ad87f4075d332f2252a8e/fiaas_publish-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "99cad06b3693032abd903fbce45f5431", "sha256": "39705b2363642dafdb89145d2d4447966c4687815eed78d09690bc5efc0b9bb9" }, "downloads": -1, "filename": "fiaas-publish-0.2.0.tar.gz", "has_sig": false, "md5_digest": "99cad06b3693032abd903fbce45f5431", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13495, "upload_time": "2019-01-09T09:39:04", "url": "https://files.pythonhosted.org/packages/3e/cb/7caed81977b0c0be5ed7c33c7ac7d2810b2d7c9a815e03dd9cbd5319ecb5/fiaas-publish-0.2.0.tar.gz" } ] }