{ "info": { "author": "The MeerKAT CAM Team", "author_email": "cam@ska.ac.za", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Version Control", "Topic :: System :: Software Distribution" ], "description": "katversion\n==========\n\nThe *katversion* package provides proper versioning for Python packages as\ndictated by their (git) source repositories. The resulting version string is\nbaked into the installed package's ``__init__.py`` file for guaranteed\ntraceability when imported (no dependency on what pkg_resources thinks!).\n\nVersion String Format\n---------------------\n\n*katversion* generates a version string for your SCM package that\ncomplies with `PEP 440 `_.\nIt mainly supports git repositories, with a half-hearted attempt at svn support.\n\nThe format of our version string is:\n\n::\n\n - for RELEASE builds:\n .\n e.g.\n 0.1\n 2.4\n\n - for DEVELOPMENT builds:\n ..dev+.g[.dirty]\n e.g.\n 0.2.dev34+new.shiny.feature.gfa973da\n 2.5.dev7+master.gb91ffa6.dirty\n\n - for UNKNOWN builds:\n 0.0+unknown.[.]\n e.g.\n 0.0+unknown.svn.201402031023\n 0.0+unknown.201602081715\n\n where . is derived from the latest version tag and\n is the total number of commits on the development branch.\n\n The . substring for development builds will be that of the\n NEXT (minor) release, in order to allow proper Python version ordering.\n\n To add a version tag use the `git tag` command, e.g.\n\n $ git tag -a 1.2 -m 'Release version 1.2'\n\nTypical Usage\n-------------\n\nAdd this to ``setup.py`` (handles installed packages):\n\n.. code:: python\n\n from setuptools import setup\n\n setup(\n ...,\n setup_requires=['katversion'],\n use_katversion=True,\n ...\n )\n\nAdd this to ``mypackage/__init__.py``, including the comment lines\n(handles local packages):\n\n.. code:: python\n\n # BEGIN VERSION CHECK\n # Get package version when locally imported from repo or via -e develop install\n try:\n import katversion as _katversion\n except ImportError: # pragma: no cover\n import time as _time\n __version__ = \"0.0+unknown.{}\".format(_time.strftime('%Y%m%d%H%M'))\n else: # pragma: no cover\n __version__ = _katversion.get_version(__path__[0])\n # END VERSION CHECK\n\nIn addition, a command-line script for checking the version:\n\n::\n\n # From inside your SCM subdirectory, run the following command\n # which will print the result to stdout:\n $ kat-get-version.py", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ska-sa/katversion", "keywords": "versioning meerkat ska", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "katversion", "package_url": "https://pypi.org/project/katversion/", "platform": "OS Independent", "project_url": "https://pypi.org/project/katversion/", "project_urls": { "Homepage": "https://github.com/ska-sa/katversion" }, "release_url": "https://pypi.org/project/katversion/0.9/", "requires_dist": null, "requires_python": "", "summary": "Reliable git-based versioning for Python packages", "version": "0.9" }, "last_serial": 5912927, "releases": { "0.6": [ { "comment_text": "", "digests": { "md5": "8527d03e36438f0e06e923196fc7e8ad", "sha256": "4213e88852a8623f6f0e799fe731eab4953dd26f1a393cb197a67d626bdcb1fb" }, "downloads": -1, "filename": "katversion-0.6-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "8527d03e36438f0e06e923196fc7e8ad", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12874, "upload_time": "2016-07-14T15:26:06", "url": "https://files.pythonhosted.org/packages/bc/31/ca6f701dfb27aa09fa8a7aafa095210284dd5b69191f84095a03d5e74d5a/katversion-0.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b289c42d804ed59674ef9e47db0cd893", "sha256": "0d7743dc31449f7fe668f391889e5e0b3ca66b0cf6033fe2c00f89b17ecb790c" }, "downloads": -1, "filename": "katversion-0.6.tar.gz", "has_sig": true, "md5_digest": "b289c42d804ed59674ef9e47db0cd893", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10321, "upload_time": "2016-07-14T15:26:37", "url": "https://files.pythonhosted.org/packages/41/9a/8b72bd81f3f82b16f5d3e10e4d3e38259c4340dcdfa955d775bd65421c1a/katversion-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "cea1a0401487e1c1ff82af16e8ea8fce", "sha256": "e9933411534fd394b75d5e644586f4077c387c3e4e1cf06c7d981296256a530e" }, "downloads": -1, "filename": "katversion-0.7-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "cea1a0401487e1c1ff82af16e8ea8fce", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13322, "upload_time": "2016-08-24T14:11:58", "url": "https://files.pythonhosted.org/packages/d6/08/38e53dad8228c445d2e1532fdd387db8082d8d83504e8944d745ae4ac2a4/katversion-0.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d466cbad8260ce4b0ac351191c2fceb9", "sha256": "c8046e521b17c7beeef25440c33d50e51d832afa947336dff09e128f725018f0" }, "downloads": -1, "filename": "katversion-0.7.tar.gz", "has_sig": true, "md5_digest": "d466cbad8260ce4b0ac351191c2fceb9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10588, "upload_time": "2016-08-24T14:11:28", "url": "https://files.pythonhosted.org/packages/d4/d4/9f45d4262e1e1a702949646bbc39e93239960dc76504e4be5da8359d06a1/katversion-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "0831846d40e57ecfe0f90a8c39f78e9d", "sha256": "0196dccad45cee92add5dea9385a84e6b08f2f0c29faa4f6ea9ddb79dfc36b36" }, "downloads": -1, "filename": "katversion-0.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0831846d40e57ecfe0f90a8c39f78e9d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13596, "upload_time": "2017-11-21T15:28:26", "url": "https://files.pythonhosted.org/packages/9c/0d/be196f4cf8f607c892c4df208caf2862713bd6245a490749e2bd17da3ce7/katversion-0.8-py2.py3-none-any.whl" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "57bb8fd4c8f992c743b0045e23f2d8a7", "sha256": "23fdc676a1f34e38bb64a0d5c6c285173f68966c977fa5b3390c02d8c2ff2117" }, "downloads": -1, "filename": "katversion-0.9-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "57bb8fd4c8f992c743b0045e23f2d8a7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13510, "upload_time": "2018-04-26T10:51:37", "url": "https://files.pythonhosted.org/packages/25/ca/8522a5b9dbff71554364fea50f4b495b10305297278f5d8cf83f3d77c605/katversion-0.9-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8d59685e6a3674c77e959d022a24aad4", "sha256": "7b8fed38556d3d9c17a719ad1ccfdd266e914dfc39a74acec9cc62981d6d02cc" }, "downloads": -1, "filename": "katversion-0.9.tar.gz", "has_sig": true, "md5_digest": "8d59685e6a3674c77e959d022a24aad4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10573, "upload_time": "2018-04-26T10:51:23", "url": "https://files.pythonhosted.org/packages/d5/79/e1c95c61311c25e3a3a35cef0aed6b6b154113818b8ae81bfc458b19eacd/katversion-0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "57bb8fd4c8f992c743b0045e23f2d8a7", "sha256": "23fdc676a1f34e38bb64a0d5c6c285173f68966c977fa5b3390c02d8c2ff2117" }, "downloads": -1, "filename": "katversion-0.9-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "57bb8fd4c8f992c743b0045e23f2d8a7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13510, "upload_time": "2018-04-26T10:51:37", "url": "https://files.pythonhosted.org/packages/25/ca/8522a5b9dbff71554364fea50f4b495b10305297278f5d8cf83f3d77c605/katversion-0.9-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8d59685e6a3674c77e959d022a24aad4", "sha256": "7b8fed38556d3d9c17a719ad1ccfdd266e914dfc39a74acec9cc62981d6d02cc" }, "downloads": -1, "filename": "katversion-0.9.tar.gz", "has_sig": true, "md5_digest": "8d59685e6a3674c77e959d022a24aad4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10573, "upload_time": "2018-04-26T10:51:23", "url": "https://files.pythonhosted.org/packages/d5/79/e1c95c61311c25e3a3a35cef0aed6b6b154113818b8ae81bfc458b19eacd/katversion-0.9.tar.gz" } ] }