diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-03-19 21:42:09 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-03-19 21:49:26 -0400 |
| commit | 8ac1de82f67791f0969da3d1a105fb3f90e2a9d7 (patch) | |
| tree | 00aeeee26be31e83715e0d03b39b3ca6ddf12229 /pyproject.toml | |
| parent | Document both uv and poetry usage in README (diff) | |
| download | taskipy2-8ac1de82f67791f0969da3d1a105fb3f90e2a9d7.zip | |
Replace poetry with uv
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/pyproject.toml b/pyproject.toml index 9e463c0..a608e7e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ -[tool.poetry] +[project] name = "taskipy2" description = "tasks runner for python projects" version = "1.14.1" authors = [ - "Eugene Triguba <hello@eugenetriguba.com>", - "Originally By Roy Sommer <roy@sommer.co.il>" + { name = "Eugene Triguba", email = "hello@eugenetriguba.com" }, + { name = "Originally By Roy Sommer", email = "roy@sommer.co.il" }, ] readme = "README.md" repository = "https://sr.ht/~eugenetriguba/taskipy" @@ -15,33 +15,30 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Topic :: Software Development :: Build Tools", ] +requires-python = ">=3.6" +dependencies = [ + "tomli>=2.0.1; python_version >= '3.7'", + "tomli>=1.2.3; python_version == '3.6'", + "psutil>=5.7.2,<7", + "mslex>=1.3.0; sys_platform == 'win32'", + "colorama>=0.4.6", +] packages = [{ include = "taskipy" }] -[tool.poetry.scripts] -task = 'taskipy.cli:main' +[project.urls] +Repository = "https://sr.ht/~eugenetriguba/taskipy" -[tool.poetry.dependencies] -python = "^3.6" -tomli = [ - { version = "^2.0.1", python = "^3.7" }, - { version = "^1.2.3", python = "~3.6" }, -] -psutil = ">=5.7.2,<7" -mslex = { version = "^1.1.0", markers = "sys_platform == 'win32'" } -colorama = "^0.4.4" +[project.scripts] +task = "taskipy.cli:main" -[tool.poetry.group.dev.dependencies] -pylint = [ - { version = "^2.12.0", python = ">=3.6,<3.11" }, - { version = "^3.0.0", python = "^3.11" }, -] -mypy = [ - { version = "0.971", python = ">=3.6,<3.9" }, - { version = "^1.19", python = "^3.9" }, -] -parameterized = [ - { version = "^0.8.1", python = ">=3.6,<3.7" }, - { version = "^0.9.0", python = "^3.7" }, +[dependency-groups] +dev = [ + "pylint>=2.12.0; python_version >= '3.6' and python_version < '3.11'", + "pylint>=3.0.0; python_version >= '3.11'", + "mypy==0.971; python_version >= '3.6' and python_version < '3.9'", + "mypy>=1.19; python_version >= '3.9'", + "parameterized>=0.8.1; python_version == '3.6'", + "parameterized>=0.9.0; python_version >= '3.7'", ] [tool.taskipy.tasks] @@ -76,5 +73,8 @@ cmd = "poetry version minor && ./task make_release_commit" help = "publishes a minor version, which has new features (x.MINOR.x)" [build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build.targets.wheel] +packages = ["taskipy"] |