-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from ecmwf/feature/pyproject
update packaging
- Loading branch information
Showing
5 changed files
with
38 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,3 @@ | |
|
||
from .deploy import GitDeployment | ||
from .init import setup_remote | ||
from .version import __version__ |
This file was deleted.
Oops, something went wrong.