Skip to content

Commit cd97880

Browse files
committed
refactor setup.cfg and setup.py package info into pyproject.toml
1 parent d69f98e commit cd97880

1 file changed

Lines changed: 29 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
11
[build-system]
2-
requires = ["setuptools>=42"]
2+
requires = ["setuptools>=61", "wheel"] # [CHANGE] upgraded setuptools to 61+ for full pyproject.toml metadata support
33
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "dca"
7+
version = "1.0.0"
8+
description = "Dynamical Components Analysis"
9+
readme = "README.md"
10+
requires-python = ">=3.6"
11+
authors = [
12+
{ name="Jesse Livezey", email="jesse.livezey@gmail.com" },
13+
{ name="David Clark" }
14+
]
15+
license = "BSD-3-Clause-LBNL" # [CHANGE] refactored from classifiers
16+
license-files = ["LICENSE.txt"]
17+
classifiers = [
18+
"Programming Language :: Python :: 3",
19+
# "License :: OSI Approved :: BSD-3-Clause-LBNL",
20+
"Operating System :: OS Independent"
21+
]
22+
23+
[project.urls]
24+
Homepage = "https://github.com/BouchardLab/DynamicalComponentsAnalysis"
25+
"Bug Tracker" = "https://github.com/BouchardLab/DynamicalComponentsAnalysis/issues"
26+
27+
[tool.setuptools.packages.find]
28+
where = ["src"]
29+
30+
[tool.setuptools]
31+
package-dir = {"" = "src"}

0 commit comments

Comments
 (0)