Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update packaging #13

Merged
merged 2 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading