Skip to content

Commit

Permalink
Add pyproject.toml and update URL in setup.py
Browse files Browse the repository at this point in the history
Introduce `pyproject.toml` for project configuration and dependency management. Correct the URL in `setup.py` to accurately reflect the repository's homepage for `ssalib`.
  • Loading branch information
dadelforge committed Nov 19, 2024
1 parent 71c8f89 commit 214293e
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 1 deletion.
50 changes: 50 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "ssalib"
version = "0.1.0a1"
description = "Singular Spectrum Analysis Library (SSALib)"
readme = "README.md"
readme-content-type = "text/markdown"
requires-python = ">=3.9"
license = {text = "BSD-3-Clause"}
authors = [
{name = "Damien Delforge", email = "damien.delforge@adscian.be"},
{name = "Alice Alonso"}
]
urls = {homepage = "https://github.com/ADSCIAN/ssalib"}

classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering"
]

keywords = ["singular spectrum analysis", "time series", "decomposition"]

[project.dependencies]
joblib = "*"
numpy = "*"
matplotlib = "*"
pandas = "*"
scipy = "*"
scikit-learn = "*"
statsmodels = "*"

[project.optional-dependencies]
test = ["pytest", "pytest-cov"]
dev = ["pytest", "pytest-cov", "black", "flake8"]

[tool.setuptools.packages.find]
where = ["src"]

[tool.setuptools.package-data]
"ssalib" = ["datasets/*.txt", "datasets/*.csv", "datasets/*.json"]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def parse_requirements(filename):
package_data={
'ssalib': ['datasets/*.txt', 'datasets/*.csv', 'datasets/*.json']
},
url='https://github.com/ADSCIAN/vassal',
url='https://github.com/ADSCIAN/ssalib',
license='BSD-3-Clause',
author='Damien Delforge, Alice Alonso',
author_email='damien.delforge@adscian.be',
Expand Down

0 comments on commit 214293e

Please sign in to comment.