Skip to content

Commit

Permalink
Migrate from setup.cfg to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Dec 30, 2023
1 parent 99f6c27 commit bc13618
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 45 deletions.
64 changes: 61 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,59 @@
[build-system]
requires = ["setuptools >= 46.4.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "technical"
dynamic = ["version"]
authors = [
{name = "Freqtrade Team"},
{name = "Freqtrade Team", email = "[email protected]"},
]
description = "Technical Indicators for Financial Analysis"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "GPLv3"}
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Topic :: Office/Business :: Financial :: Investment",
"Intended Audience :: Science/Research",
]

dependencies = [
"TA-lib",
"pandas",
]
[project.optional-dependencies]
tests = [
"pytest",
"pytest-cov",
"pytest-mock",
"pytest-random-order"
]


[project.urls]
Homepage = "https://github.com/freqtrade/technical"
"Bug Tracker" = "https://github.com/freqtrade/technical/issues"

[tool.setuptools]
include-package-data = false
zip-safe = false

[tool.setuptools.packages.find]
where = [ "." ]
exclude = [
"tests*",
]

[tool.setuptools.dynamic]
version = {attr = "technical.__version__"}

[tool.black]
line-length = 100
exclude = '''
Expand All @@ -22,9 +78,6 @@ exclude = '''
[tool.isort]
line_length = 100

[build-system]
requires = ["setuptools >= 46.4.0", "wheel"]
build-backend = "setuptools.build_meta"

[tool.ruff]
line-length = 100
Expand All @@ -37,3 +90,8 @@ extend-select = [
# "TCH", # flake8-type-checking
# "PTH", # flake8-use-pathlib
]


[tool.flake8]
max-line-length = 100
extend-ignore = "E203"
42 changes: 0 additions & 42 deletions setup.cfg

This file was deleted.

0 comments on commit bc13618

Please sign in to comment.