File: pyproject.toml

package info (click to toggle)
python-pymummer 0.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 340 kB
  • sloc: python: 2,385; sh: 55; makefile: 4
file content (63 lines) | stat: -rw-r--r-- 1,640 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Build system configuration
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

# Project metadata
[project]
name = "pymummer"
description = "Wrapper for MUMmer"
readme="README.md"
requires-python = ">=3.8"
license = { text = "GPLv3" }
authors = [
    { name = "Martin Hunt", email = "path-help@sanger.ac.uk" },
    { name = "Nishadi De Silva", email = "path-help@sanger.ac.uk" }
]

# The classifiers for the project.
classifiers = [
    "Development Status :: 4 - Beta",
    "Topic :: Scientific/Engineering :: Bio-Informatics",
    "Programming Language :: Python :: 3 :: Only",
    "License :: OSI Approved :: GNU General Public License v3 (GPLv3)"
]

# The dependencies required to install the package.
dependencies = ["pyfastaq >= 3.10.0"]

# Dynamic versioning
dynamic = ["version"]

# Project URLs
[project.urls]
homepage = "https://github.com/sanger-pathogens/pymummer"
documentation = "https://github.com/sanger-pathogens/pymummer"
repository = "https://github.com/sanger-pathogens/pymummer"

# Hatch build configuration
[tool.hatch.build]
source = "src"

# Exclude files and directories from the build
exclude = [
    "environment.yml",
    "env_osx64.yml",
]

# Hatch versioning configuration
[tool.hatch.version]
source = "vcs"

# Version control system (VCS) versioning
[tool.hatch.version.vcs]
tag-pattern = "v*"  # Git tags starting with 'v' will be used for versioning
fallback-version = "0.0.0"

# Version file location for VCS
[tool.hatch.build.hooks.vcs]
version-file = "src/pymummer/_version.py"

# Optional dependencies for testing
[project.optional-dependencies]
tests = ["pytest"]