Skip to content

Commit

Permalink
poetry file
Browse files Browse the repository at this point in the history
  • Loading branch information
mariofix committed Sep 21, 2024
1 parent 1f671e3 commit 636cd89
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 63 deletions.
63 changes: 33 additions & 30 deletions pyproject-poetry.toml → pyproject-hatch.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
[tool.poetry]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "merchants"
version = "2024.9.16"
description = "A unified payment processing toolkit for Starlette/FastAPI applications"
authors = ["Mario Hernandez <mariofix@proton.me>"]
authors = [{ name = "Mario Hernandez", email = "mariofix@proton.me" }]
readme = "README.md"
license = "MIT"
repository = "https://github.com/mariofix/merchants"
homepage = "https://mariofix.github.io/merchants"
license = { file = "LICENSE" }
requires-python = ">=3.10"
keywords = [
"payment",
"psp",
Expand All @@ -18,7 +21,6 @@ keywords = [
"fastapi",
"starlette",
]
packages = [{ include = "merchants" }, { include = "alembic" }]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
Expand All @@ -27,33 +29,34 @@ classifiers = [
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"thankyou>=0.0.3",
"pendulum>=3.0.0",
"httpx>=0.27.0",
"python-slugify>=8.0.4",
"alembic>=1.13.2",
"sqlalchemy>=2.0.35",
"sqlalchemy-utils>=0.41.2",
"fastapi[all]>=0.114.2",
"starlette-admin>=0.14.1",
]

[tool.poetry.dependencies]
python = "^3.10"
thankyou = "^0.0.3"
pendulum = "^3.0.0"
httpx = "^0.27.0"
python-slugify = "^8.0.4"

alembic = "^1.13.2"
sqlalchemy = "^2.0.35"
sqlalchemy-utils = "^0.41.2"

fastapi = { extras = ["all"], version = "^0.114.2" }
starlette-admin = { version = "^0.14.1" }
pytest-asyncio = "^0.24.0"

[project.optional-dependencies]
dev = [
"pytest>=8.3.3",
"coverage>=7.6.1",
"black>=24.8.0",
"pre-commit>=3.8.0",
"rich>=13.7.1",
"pytest-asyncio>=0.24.0",
]

[tool.poetry.group.dev.dependencies]
pytest = "^8.3.3"
coverage = "^7.6.1"
black = "^24.8.0"
pre-commit = "^3.8.0"
rich = "^13.7.1"
[project.urls]
Homepage = "https://mariofix.github.io/merchants"
Repository = "https://github.com/mariofix/merchants"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.hatch.build.targets.wheel]
packages = ["merchants", "alembic"]


[tool.pytest.ini_options]
Expand Down
63 changes: 30 additions & 33 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
[tool.poetry]
name = "merchants"
version = "2024.9.16"
description = "A unified payment processing toolkit for Starlette/FastAPI applications"
authors = [{ name = "Mario Hernandez", email = "mariofix@proton.me" }]
authors = ["Mario Hernandez <mariofix@proton.me>"]
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.10"
license = "MIT"
repository = "https://github.com/mariofix/merchants"
homepage = "https://mariofix.github.io/merchants"
keywords = [
"payment",
"psp",
Expand All @@ -21,6 +18,7 @@ keywords = [
"fastapi",
"starlette",
]
packages = [{ include = "merchants" }, { include = "alembic" }]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
Expand All @@ -29,34 +27,33 @@ classifiers = [
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"thankyou>=0.0.3",
"pendulum>=3.0.0",
"httpx>=0.27.0",
"python-slugify>=8.0.4",
"alembic>=1.13.2",
"sqlalchemy>=2.0.35",
"sqlalchemy-utils>=0.41.2",
"fastapi[all]>=0.114.2",
"starlette-admin>=0.14.1",
]

[project.optional-dependencies]
dev = [
"pytest>=8.3.3",
"coverage>=7.6.1",
"black>=24.8.0",
"pre-commit>=3.8.0",
"rich>=13.7.1",
"pytest-asyncio>=0.24.0",
]
[tool.poetry.dependencies]
python = "^3.10"
thankyou = "^0.0.3"
pendulum = "^3.0.0"
httpx = "^0.27.0"
python-slugify = "^8.0.4"

[project.urls]
Homepage = "https://mariofix.github.io/merchants"
Repository = "https://github.com/mariofix/merchants"
alembic = "^1.13.2"
sqlalchemy = "^2.0.35"
sqlalchemy-utils = "^0.41.2"

[tool.hatch.build.targets.wheel]
packages = ["merchants", "alembic"]
fastapi = { extras = ["all"], version = "^0.114.2" }
starlette-admin = { version = "^0.14.1" }
pytest-asyncio = "^0.24.0"


[tool.poetry.group.dev.dependencies]
pytest = "^8.3.3"
coverage = "^7.6.1"
black = "^24.8.0"
pre-commit = "^3.8.0"
rich = "^13.7.1"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"


[tool.pytest.ini_options]
Expand Down

0 comments on commit 636cd89

Please sign in to comment.