Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

Commit

Permalink
update pyproject for uv
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Jan 7, 2025
1 parent 4bef32b commit 6d3fb5d
Show file tree
Hide file tree
Showing 2 changed files with 500 additions and 15 deletions.
55 changes: 40 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,27 +1,52 @@
[tool.poetry]
[project]
name = "cvxcooker"
version = "0.0.0"
description = "..."
authors = ["Thomas Schmelzer"]
authors = [{name = "Thomas Schmelzer", email = "[email protected]"}]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"fire>=0.7.0",
"jinja2>=3.1.5",
"loguru>=0.7.3",
"toml>=0.10.2",
]

[project.urls]
repository = "https://github.com/cvxgrp/boilerplate"
packages = [{include = "cvx"}]
homepage = "https://www.cvxgrp.com/boilerplate"

[tool.poetry.dependencies]
python = ">=3.9.0,<3.13"
jinja2= "*"
toml = "*"
fire = "*"
loguru = "*"
#[tool.poetry.dependencies]
#python = ">=3.9.0,<3.13"
#jinja2= "*"
#toml = "*"
#fire = "*"
#loguru = "*"

[tool.poetry.dev-dependencies]
pytest = "*"
pytest-cov = "*"
[dependency-groups]
dev = [
"pytest-cov>=6.0.0",
"pytest>=8.3.3",
"pre-commit>=4.0.1",
]

[tool.poetry.scripts]
[project.scripts]
cook = "cvx.cook:main"


[tool.ruff]
line-length = 120
target-version = "py310"
exclude = [
"*__init__.py"
]

[tool.ruff.lint]
select = ["E", "F", "I"]

[build-system]
requires = ["poetry>=1.6.0"]
build-backend = "poetry.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["cvx"]
Loading

0 comments on commit 6d3fb5d

Please sign in to comment.