poetry-version-from-file


Namepoetry-version-from-file JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/tobiasge/poetry-version-from-file
Summary
upload_time2024-02-25 17:32:43
maintainer
docs_urlNone
authorTobias Genannt
requires_python>=3.12,<4.0
licenseMIT
keywords packaging poetry-plugin poetry
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## Poetry version from file plugin

This is a simple Poetry plugin that loads the project version dynamically from a `VERSION` file.

### Usage
Add the plugin to the build system requirements:
```toml
[build-system]
requires = ["poetry-core", "poetry-version-from-file"]
```

The create a file named `VERSION` and put your projects version nummber in it.

If you already have a file containing your projects version you can configure the plugin to use that file with the following settings in your `pyproject.toml`:

```toml
[tool.poetry.plugins.version-from-file]
file = "VERSION.txt"
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/tobiasge/poetry-version-from-file",
    "name": "poetry-version-from-file",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.12,<4.0",
    "maintainer_email": "",
    "keywords": "packaging,poetry-plugin,poetry",
    "author": "Tobias Genannt",
    "author_email": "tobias.genannt@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/54/37/8c5307d701534cccaf32ce38445eb2c3806f78e2eaa794d355fa06e2e4e2/poetry_version_from_file-1.0.1.tar.gz",
    "platform": null,
    "description": "## Poetry version from file plugin\n\nThis is a simple Poetry plugin that loads the project version dynamically from a `VERSION` file.\n\n### Usage\nAdd the plugin to the build system requirements:\n```toml\n[build-system]\nrequires = [\"poetry-core\", \"poetry-version-from-file\"]\n```\n\nThe create a file named `VERSION` and put your projects version nummber in it.\n\nIf you already have a file containing your projects version you can configure the plugin to use that file with the following settings in your `pyproject.toml`:\n\n```toml\n[tool.poetry.plugins.version-from-file]\nfile = \"VERSION.txt\"\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "",
    "version": "1.0.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/tobiasge/poetry-version-from-file/issues",
        "Homepage": "https://github.com/tobiasge/poetry-version-from-file"
    },
    "split_keywords": [
        "packaging",
        "poetry-plugin",
        "poetry"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6cd80a3226c13dec4a9edff23ed140b2414a861a2296ebd8f5a05d2fbe14c507",
                "md5": "0501b44dda8c4ff9245e21dd03332c44",
                "sha256": "9d950c70ed4021cfc32e9df08879f049328674b8943b3b04a8b024c91f2b65ee"
            },
            "downloads": -1,
            "filename": "poetry_version_from_file-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0501b44dda8c4ff9245e21dd03332c44",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12,<4.0",
            "size": 3233,
            "upload_time": "2024-02-25T17:32:40",
            "upload_time_iso_8601": "2024-02-25T17:32:40.587005Z",
            "url": "https://files.pythonhosted.org/packages/6c/d8/0a3226c13dec4a9edff23ed140b2414a861a2296ebd8f5a05d2fbe14c507/poetry_version_from_file-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "54378c5307d701534cccaf32ce38445eb2c3806f78e2eaa794d355fa06e2e4e2",
                "md5": "422be56b8dc856950d5835fe105e1d51",
                "sha256": "3c6fd37a41543f2be8e827dbd3a812fd7a1065e8ef1659ee55f20f7e2fd0c454"
            },
            "downloads": -1,
            "filename": "poetry_version_from_file-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "422be56b8dc856950d5835fe105e1d51",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12,<4.0",
            "size": 2401,
            "upload_time": "2024-02-25T17:32:43",
            "upload_time_iso_8601": "2024-02-25T17:32:43.181872Z",
            "url": "https://files.pythonhosted.org/packages/54/37/8c5307d701534cccaf32ce38445eb2c3806f78e2eaa794d355fa06e2e4e2/poetry_version_from_file-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-25 17:32:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tobiasge",
    "github_project": "poetry-version-from-file",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "poetry-version-from-file"
}
        
Elapsed time: 0.99483s