Skip to content

Commit

Permalink
Move package setup info to pyproject.tml
Browse files Browse the repository at this point in the history
  • Loading branch information
p3zo committed Jun 17, 2024
1 parent bb19155 commit 35cbd30
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 40 deletions.
29 changes: 25 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,42 @@
[build-system]
requires = ["setuptools>=42", "wheel"]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "chord-progressions"
version = "0.33.0"
dynamic = ["version"]
description = "A Python package for extracting, analyzing, and generating chord progressions "
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "p3zo", email = "[email protected]" },
]
description = "A Python package for extracting, analyzing, and generating chord progressions "
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
]
dependencies = [
"matplotlib~=3.5.1",
"mido~=1.2.10",
"networkx~=2.8",
"numpy~=1.22.3",
"pandas~=1.4.2",
"pretty_midi~=0.2.10",
"scipy~=1.8.0",
]

[tool.setuptools]
py-modules = []

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

[project.optional-dependencies]
dev = ["pytest", "pytest-cov", "black", "flake8", "ipdb", "ipython", "isort", "bumpversion", "mkdocs-material"]
test = ["pytest", "pytest-cov"]

[project.urls]
Homepage = "https://github.com/p3zo/chord-progressions"
Expand Down
2 changes: 0 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
[bumpversion]
current_version = 0.33.0

[bumpversion:file:setup.py]

[bumpversion:file:chord_progressions/__init__.py]

[flake8]
Expand Down
34 changes: 0 additions & 34 deletions setup.py

This file was deleted.

0 comments on commit 35cbd30

Please sign in to comment.