map2map/pyproject.toml

140 lines
3.4 KiB
TOML
Raw Permalink Normal View History

2024-05-17 09:50:40 +02:00
[tool.poetry]
name = "map2map-aquila"
version = "1.0.0"
2024-05-17 09:50:40 +02:00
description = ""
authors = [
"Yin Li <eelregit@gmail.com>",
"Deaglan Bartlett <deaglan.bartlett@iap.fr>",
"Guilhem Lavaux <guilhem.lavaux@iap.fr>",
]
readme = "README.md"
2024-05-17 09:58:56 +02:00
packages = [{include = "map2map"}]
2024-05-17 09:50:40 +02:00
[tool.poetry.dependencies]
python = "^3.10"
torch = ">=1.2"
numpy = "^1.26.4"
scipy = "^1.13.0"
matplotlib = "^3.9.0"
tensorboard = "^2.16.2"
click = "^8.1.7"
pyyaml = "^6.0.1"
2024-05-17 09:50:40 +02:00
[tool.poetry.group.dev.dependencies]
python-semantic-release = "^9.7.3"
poetry-githooks = "^3.0.1"
black = "^24.4.2"
[build-system]
2024-05-17 09:50:40 +02:00
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[project]
description = "Neural network emulators to transform field/map data"
readme = "README.md"
2024-05-17 09:37:34 +02:00
name = "map2map-aquila"
dynamic = ["version"]
requires-python = ">= 3.9"
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
]
dependencies = [
'torch>=1.2',
'numpy',
'scipy',
'matplotlib',
'tensorboard',
'h5py','tqdm',
'click','pyyaml']
authors = [
{name = "Yin Li", email = "eelregit@gmail.com"},
{name = "Deaglan Bartlett", email = "deaglan.bartlett@iap.fr"},
{name = "Guilhem Lavaux", email = "guilhem.lavaux@iap.fr" },
]
maintainers = [
{name = "Guilhem Lavaux", email = "guilhem.lavaux@iap.fr"}
]
[project.scripts]
m2m = "map2map:main.main"
mapcropper = "map2map:cropper.cropper"
2024-05-17 09:50:40 +02:00
[tool.poetry.scripts]
map2map = "map2map:main.main"
2024-05-17 09:50:40 +02:00
[project.urls]
#Homepage = "https://example.com"
#Documentation = "https://readthedocs.org"
2024-05-17 09:37:34 +02:00
Repository = "https://git.aquila-consortium.org/aquila-consortium/map2map.git"
Issues = "https://git.aquila-consortium.org/aquila-consortium/map2map/issues/new"
#Changelog = "https://github.com/me/spam/blob/master/CHANGELOG.md"
[tool.githooks]
pre-commit="black ."
commit-msg="git_automation/check_commit_msg"
[tool.semantic_release]
assets = []
version_toml = [
"pyproject.toml:tool.poetry.version",
]
version_variables = [
2024-05-20 18:36:43 +02:00
"map2map/__init__.py:__version__"
]
build_command_env = []
commit_message = "{version}\n\nAutomatically generated by python-semantic-release"
commit_parser = "angular"
logging_use_named_masks = false
major_on_zero = true
allow_zero_version = true
tag_format = "v{version}"
[tool.semantic_release.branches.main]
match = "(main|master)"
prerelease_token = "rc"
prerelease = false
[tool.semantic_release.changelog]
template_dir = "templates"
changelog_file = "CHANGELOG.md"
exclude_commit_patterns = []
[tool.semantic_release.changelog.environment]
block_start_string = "{%"
block_end_string = "%}"
variable_start_string = "{{"
variable_end_string = "}}"
comment_start_string = "{#"
comment_end_string = "#}"
trim_blocks = false
lstrip_blocks = false
newline_sequence = "\n"
keep_trailing_newline = false
extensions = []
autoescape = true
[tool.semantic_release.commit_author]
env = "GIT_COMMIT_AUTHOR"
default = "semantic-release <semantic-release>"
[tool.semantic_release.commit_parser_options]
allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "style", "refactor", "test"]
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]
default_bump_level = 0
[tool.semantic_release.remote]
name = "origin"
type = "gitea"
domain = "git.guilhem-lavaux.eu"
ignore_token_for_push = false
insecure = false
[tool.semantic_release.publish]
dist_glob_patterns = ["dist/*"]
upload_to_vcs_release = true