-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
143 lines (117 loc) · 3.18 KB
/
pyproject.toml
File metadata and controls
143 lines (117 loc) · 3.18 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
dynamic = ["version"]
name = "MacSyLib"
authors = [
{name="Sophie Abby", email='sophie.abby@univ-grenoble-alpes.fr'},
{name="Bertrand Neron", email='bneron@pasteur.fr'}
]
maintainers = [
{name="Bertrand Neron", email='bneron@pasteur.fr'}
]
description = 'MacSyLib: Python library that help to detect of macromolecular, systems genetic pathways… in prokaryotes protein datasets using systems modelling and similarity search.'
keywords = ['science', 'research', 'bioinformatic', 'microbiology', 'genomic', 'prokaryote', 'functional gene annotation']
readme = "README.md"
license = 'GPL-3.0-or-later'
license-files = ["COPYING"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: POSIX",
"Environment :: Console",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Bio-Informatics"
]
requires-python = ">=3.10"
dependencies = [
"colorlog>=4.0.2",
"PyYAML>=5.1.1",
"packaging>=18.0",
"networkx>=2.4",
"pandas>=1.03",
"colorama>=0.4.4",
"certifi",
]
[project.optional-dependencies]
model = [
"GitPython",
"lxml"
]
dev = [
"macsylib[model]",
"sphinx",
"sphinx_rtd_theme",
"sphinx-autodoc-typehints",
"sphinxcontrib-svg2pdfconverter",
"coverage[toml]",
"build",
"ruff",
"pre-commit",
]
[project.scripts]
msl_data = "macsylib.scripts.macsydata:main"
msl_profile = "macsylib.scripts.macsyprofile:main"
[project.urls]
Homepage = "https://github.com/gem-pasteur/macsylib/"
Documentation = "https://macsylib.readthedocs.io/en/latest/"
Repository = "https://github.com/gem-pasteur/macsylib/"
Issues = "https://github.com/gem-pasteur/macsylib/issues"
Changelog = "https://macsylib.readthedocs.io/en/latest/user_guide/new.html"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where=["src"]
include = ["macsylib*"]
namespaces = false
[tool.setuptools.dynamic]
version = {attr = "macsylib.__version__"}
[tool.setuptools.package-data]
macsylib = [
"data/pre-push",
"data/model.xsd",
"data/model_conf.xsd"
]
[tool.coverage.run]
branch = true
source = ["src/macsylib"]
command_line = "-m unittest discover -vv"
[tool.ruff]
target-version = "py310"
# Exclude a variety of commonly ignored directories.
exclude = [
".eggs",
".git",
".ipynb_checkpoints",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".venv",
"__pypackages__",
"_build",
"build",
"dist",
"site-packages",
"venv",
]
# Same as Black.
line-length = 120
indent-width = 4
src = ['src/macsylib', 'tests', 'pyproject.toml']
[tool.ruff.format]
indent-style = "space"
[tool.ruff.lint.per-file-ignores]
#F841 Local variable `xxx` is assigned to but never used
"tests/test_System.py" = ["F841"]
[tool.pylint]
py-version = 3.11
max-line-length = 120
[tool.pylint.design]
max-args = 10
max-positional-arguments = 8