{ "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.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "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|Codacy Quality Badge| |Codacy Coverage Badge|\n\n\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* `84b47e4`_: Use correct regex for matching tags for auto-promotion\n* `6764d18`_: Ignore .pip_cache\n* `aab6990`_: Explain more about why a repo is deemed unfit for release\n\n.. _84b47e4: https://github.com/fiaas/publish/commit/84b47e4\n.. _6764d18: https://github.com/fiaas/publish/commit/6764d18\n.. _aab6990: https://github.com/fiaas/publish/commit/aab6990\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": "publish", "package_url": "https://pypi.org/project/publish/", "platform": "", "project_url": "https://pypi.org/project/publish/", "project_urls": { "Homepage": "https://github.com/fiaas/publish" }, "release_url": "https://pypi.org/project/publish/0.3.1/", "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.3.1" }, "last_serial": 5738915, "releases": { "0.3.1": [ { "comment_text": "", "digests": { "md5": "54f9268a424f18f54cb04b29b1e9086f", "sha256": "04901e4a4cd433b23c6e7509d6c96d596f929beee8ad94cbde54bc51d5495664" }, "downloads": -1, "filename": "publish-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "54f9268a424f18f54cb04b29b1e9086f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10112, "upload_time": "2019-08-27T18:41:27", "url": "https://files.pythonhosted.org/packages/dd/e8/59700acff082f68447b2ed9fcfb296a4b45819ba9a19f63df9af7eeeb96f/publish-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "916d33bdbf4d9e3c9593359ec27ebc2b", "sha256": "dee0eccbb93bbcebecad8c403202b9a094fd485c4f32f455646ec7107496d795" }, "downloads": -1, "filename": "publish-0.3.1.tar.gz", "has_sig": false, "md5_digest": "916d33bdbf4d9e3c9593359ec27ebc2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13600, "upload_time": "2019-08-27T18:41:29", "url": "https://files.pythonhosted.org/packages/ca/26/5c519fbf137ff3f8b278a0d8875bc370d24afe76ae2d65a138f803246002/publish-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "54f9268a424f18f54cb04b29b1e9086f", "sha256": "04901e4a4cd433b23c6e7509d6c96d596f929beee8ad94cbde54bc51d5495664" }, "downloads": -1, "filename": "publish-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "54f9268a424f18f54cb04b29b1e9086f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10112, "upload_time": "2019-08-27T18:41:27", "url": "https://files.pythonhosted.org/packages/dd/e8/59700acff082f68447b2ed9fcfb296a4b45819ba9a19f63df9af7eeeb96f/publish-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "916d33bdbf4d9e3c9593359ec27ebc2b", "sha256": "dee0eccbb93bbcebecad8c403202b9a094fd485c4f32f455646ec7107496d795" }, "downloads": -1, "filename": "publish-0.3.1.tar.gz", "has_sig": false, "md5_digest": "916d33bdbf4d9e3c9593359ec27ebc2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13600, "upload_time": "2019-08-27T18:41:29", "url": "https://files.pythonhosted.org/packages/ca/26/5c519fbf137ff3f8b278a0d8875bc370d24afe76ae2d65a138f803246002/publish-0.3.1.tar.gz" } ] }