Skip to content

Commit

Permalink
build: switch to pyproject & flint (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao authored Sep 13, 2023
1 parent 2b52c1e commit aed6e9d
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 27 deletions.
3 changes: 1 addition & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include MANIFEST.in
include requirements.txt
include *.json
include *.md
include *.py
Expand All @@ -15,4 +14,4 @@ recursive-include payments *.png
recursive-include payments *.py
recursive-include payments *.svg
recursive-include payments *.txt
recursive-exclude payments *.pyc
recursive-exclude payments *.pyc
32 changes: 32 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[project]
name = "payments"
authors = [
{ name = "Frappe Technologies Pvt Ltd", email = "[email protected]"}
]
description = "Payments app for frappe"
requires-python = ">=3.10"
readme = "README.md"
dynamic = ["version"]
dependencies = [
"paytmchecksum~=1.7.0",
"razorpay~=1.2.0",
"stripe~=2.56.0",
"braintree~=4.20.0",
"pycryptodome~=3.18.0",
]

[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"

[tool.black]
line-length = 99

[tool.isort]
line_length = 99
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
indent = "\t"
6 changes: 0 additions & 6 deletions requirements.txt

This file was deleted.

19 changes: 0 additions & 19 deletions setup.py

This file was deleted.

0 comments on commit aed6e9d

Please sign in to comment.