Newer
Older
#Build system backend to create package to upload on pypi
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=68.2.0",
"setuptools_scm[toml]>=8.0.0",
"build>=1.0.0"
]
# configuration of setuptools_scm to use tag version autoincrementation
# used last TAG version dernier
[tool.setuptools_scm]
write_to = "GrAnnoT/_version.py" #creer automatiquement
version_scheme = "release-branch-semver"
tag_regex = "^(\\d.\\d.\\d)-*\\w*\\d*$"
local_scheme = "no-local-version"
# define Project settings
[project]
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
64
65
66
dynamic = ["version"]
description = """Graph Annotation Transfer"""
authors = [
{ name = "Nina Marthe (IRD)", email = "nina.marthe@ird.fr" },
]
maintainers = [
{ name = "Nina Marthe (IRD)", email = "nina.marthe@ird.fr" },
]
dependencies = ["argparse"
]
requires-python = ">=3.8"
readme = "README.md"
license = { file = "LICENSE" }
keywords = ["annotation", "pangenomics", "transfer","graph","pangenome"]
classifiers = [ #TODO : https://pypi.org/classifiers/
'License :: OSI Approved :: MIT License',
'License :: Free for non-commercial use',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Natural Language :: English',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics',
]
[project.urls] #TODO
#Homepage = "https://forge.ird.fr/diade/frangipane"
#Downloads = "https://forge.ird.fr/diade/frangipane/archive/"
"Bug Tracker" = "https://forge.ird.fr/diade/grannot/issues"
#Documentation = "https://frangipane.readthedocs.io/en/latest/"
"Source Code" = "https://forge.ird.fr/diade/dynadiv/grannot"
[project.optional-dependencies]
dev = [
"sphinx_click",
"sphinx_copybutton",
"sphinx_rtd_theme",
"tox",
"setuptools>=68.2.0",
"setuptools_scm[toml]>=8.0.0",
"build>=1.0.0"
]
# setup scripts links
[project.scripts]
# Try to link sphinx to file
#[tool.sphinx]
#source-dir = "docs/source"
#build-dir = "docs/build"
#config-dir = "docs/source"