Changeset ef5aac4 in flexoentity for pyproject.toml


Ignore:
Timestamp:
01/06/26 07:56:46 (9 days ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
master
Children:
a8dca95
Parents:
3d598d5
Message:

rewrite pyproject.toml to use hatchling and pep621

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyproject.toml

    r3d598d5 ref5aac4  
    11[build-system]
    2 requires = ["poetry-core>=1.0.7"]
    3 build-backend = "poetry.core.masonry.api"
     2requires = ["hatchling"]
     3build-backend = "hatchling.build"
    44
    5 [tool.poetry]
     5
     6[project]
    67name = "flexoentity"
    78version = "0.0.1"
    89description = "Core entity and ID framework for the Flex-O ecosystem."
    9 authors = ["Enrico Enno Schwass <ennoausberlin@mac.com>"]
    10 license = "MIT"
    1110readme = "README.md"
    12 homepage = "https://example.com/flexoentity"
    13 repository = "https://example.com/flexoentity.git"
    14 documentation = "https://example.com/flexoentity/docs"
    15 keywords = ["flex-o", "entity", "id", "versioning", "hashing", "reproducibility"]
    16 classifiers = [
    17     "Development Status :: 5 - Production/Stable",
    18     "Programming Language :: Python :: 3",
    19     "License :: OSI Approved :: MIT License",
    20     "Operating System :: OS Independent"
     11license = { text = "MIT" }
     12
     13authors = [
     14  { name = "Enrico Enno Schwass", email = "ennoausberlin@mac.com" }
    2115]
    2216
    23 packages = [
    24     { include = "flexoentity" }
     17requires-python = ">=3.10.6"
     18
     19keywords = [
     20  "flex-o",
     21  "entity",
     22  "id",
     23  "versioning",
     24  "hashing",
     25  "reproducibility"
    2526]
    2627
    27 include = [
    28     { path = "tests/*.py" }
     28classifiers = [
     29  "Development Status :: 5 - Production/Stable",
     30  "Programming Language :: Python :: 3",
     31  "License :: OSI Approved :: MIT License",
     32  "Operating System :: OS Independent"
    2933]
    3034
    31 [tool.poetry.dependencies]
    32 python = "^3.10.6"
     35# Runtime dependencies
     36dependencies = []
    3337
    34 [tool.poetry.group.dev.dependencies]
    35 pytest = "^7.1.3"
    3638
    37 [tool.poetry.urls]
     39[project.optional-dependencies]
     40dev = [
     41  "pytest>=7.1.3"
     42]
     43
     44
     45[project.urls]
    3846Homepage = "https://gitlab.kokyou.de/enno/flexoentity"
    3947Repository = "https://gitlab.kokyou.de/enno/flexoentity.git"
     48Documentation = "https://gitlab.kokyou.de/enno/flexoentity/docs"
     49
     50
     51# ───────────── Hatchling configuration ─────────────
     52
     53[tool.hatch.build.targets.wheel]
     54packages = ["flexoentity"]
     55
     56
     57[tool.hatch.build.targets.sdist]
     58include = [
     59  "flexoentity/**",
     60  "tests/**",
     61  "README.md",
     62  "pyproject.toml"
     63]
Note: See TracChangeset for help on using the changeset viewer.