hatch-flex


Namehatch-flex JSON
Version 0.0.2 PyPI version JSON
download
home_page
SummaryHatch plugin to customize build dependencies
upload_time2024-01-16 14:21:42
maintainer
docs_urlNone
author
requires_python>=3.9
license
keywords build editable hatch packaging plugin
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Hatch plugin to customize build dependencies

Simple Hatch plugin to customize dependencies
according to whether the build is `editable` or `standard`.
This may be useful for example in mono-repo projects
where sub-projects need to be installed manually,
from the local repo, and not the pypi index.
In this case you can add dependencies to the
`standard` dependencies that will be used only
when building wheels.


## Usage

You can specify `editable-dependencies` for editable installs
and `standard-dependencies` for other builds in the
`[tool.hatch.build.hooks.flex]` section of the `pyproject.toml`.
These dependencies, according to the build type, will be added
to the dependencies already declared in the project section.


```
[build-system]
requires = ["hatchling", "hatch-flex"]
build-backend = "hatchling.build"

[tool.hatch.build.hooks.flex]
editable-dependencies = [...]
standard-dependencies = [...]
```

## Related Projects & Resources
- [hatch](https://hatch.pypa.io/latest/) Modern, extensible Python project management
- [issue 588](https://github.com/pypa/hatch/issues/588) Support for Editable Dependencies

## Changes

### 0.0.1
- Initial release

### 0.0.2
- Added config type checking

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "hatch-flex",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "build,editable,hatch,packaging,plugin",
    "author": "",
    "author_email": "furechan <furechan@xsmail.com>",
    "download_url": "",
    "platform": null,
    "description": "# Hatch plugin to customize build dependencies\n\nSimple Hatch plugin to customize dependencies\naccording to whether the build is `editable` or `standard`.\nThis may be useful for example in mono-repo projects\nwhere sub-projects need to be installed manually,\nfrom the local repo, and not the pypi index.\nIn this case you can add dependencies to the\n`standard` dependencies that will be used only\nwhen building wheels.\n\n\n## Usage\n\nYou can specify `editable-dependencies` for editable installs\nand `standard-dependencies` for other builds in the\n`[tool.hatch.build.hooks.flex]` section of the `pyproject.toml`.\nThese dependencies, according to the build type, will be added\nto the dependencies already declared in the project section.\n\n\n```\n[build-system]\nrequires = [\"hatchling\", \"hatch-flex\"]\nbuild-backend = \"hatchling.build\"\n\n[tool.hatch.build.hooks.flex]\neditable-dependencies = [...]\nstandard-dependencies = [...]\n```\n\n## Related Projects & Resources\n- [hatch](https://hatch.pypa.io/latest/) Modern, extensible Python project management\n- [issue 588](https://github.com/pypa/hatch/issues/588) Support for Editable Dependencies\n\n## Changes\n\n### 0.0.1\n- Initial release\n\n### 0.0.2\n- Added config type checking\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Hatch plugin to customize build dependencies",
    "version": "0.0.2",
    "project_urls": {
        "homepage": "https://github.com/furechan/hatch-flex"
    },
    "split_keywords": [
        "build",
        "editable",
        "hatch",
        "packaging",
        "plugin"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f4442a881387eef69e8e8a677a5a18249327fdbb3d9aec1e82d8a893b5e1a80c",
                "md5": "892cbe427d189251f2c6fd93f03613cc",
                "sha256": "60a68f8a972029d17b9bbfb604cc65f28aba37c662a1335ea4e0c9e3f2e302dc"
            },
            "downloads": -1,
            "filename": "hatch_flex-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "892cbe427d189251f2c6fd93f03613cc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 3314,
            "upload_time": "2024-01-16T14:21:42",
            "upload_time_iso_8601": "2024-01-16T14:21:42.765472Z",
            "url": "https://files.pythonhosted.org/packages/f4/44/2a881387eef69e8e8a677a5a18249327fdbb3d9aec1e82d8a893b5e1a80c/hatch_flex-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-16 14:21:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "furechan",
    "github_project": "hatch-flex",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "hatch-flex"
}
        
Elapsed time: 0.19586s