Skip to content

Commit

Permalink
Merge pull request #13 from ecmwf/feature/pyproject
Browse files Browse the repository at this point in the history
update packaging
  • Loading branch information
corentincarton authored Mar 5, 2024
2 parents e62db1d + cfe8922 commit 8f831e8
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 45 deletions.
48 changes: 38 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,41 @@
[build-system]
# NOTE: `pip install build` to build with `python -m build`
requires = [
"setuptools >= 40.9.0",
"wheel"
]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[tool.pytest.ini_options]
addopts = ""
doctest_optionflags = ""
testpaths = "tests"
markers = []
[project]
name = "tracksuite"
version = "0.3.1"
description = "ecflow suite tracking and deploying toolkit"
authors = [
{ name = "European Centre for Medium-Range Weather Forecasts (ECMWF)", email = "[email protected]" },
{ name = "Corentin Carton de Wiart", email = "[email protected]" },
]
license = { text = "Apache License Version 2.0" }
requires-python = ">=3.8"
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
]

dependencies = [
"gitpython >= 3.1.25"
]

[project.optional-dependencies]
test = ["pytest", "mocker", "pytest-mock"]

[project.urls]
"Source code" = "https://github.com/ecmwf/tracksuite"

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

[project.scripts]
tracksuite-init = "tracksuite.init:main"
tracksuite-deploy = "tracksuite.deploy:main"
30 changes: 0 additions & 30 deletions setup.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions setup.py

This file was deleted.

1 change: 0 additions & 1 deletion tracksuite/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@

from .deploy import GitDeployment
from .init import setup_remote
from .version import __version__
1 change: 0 additions & 1 deletion tracksuite/version.py

This file was deleted.

0 comments on commit 8f831e8

Please sign in to comment.