-
Notifications
You must be signed in to change notification settings - Fork 189
/
pyproject.toml
109 lines (93 loc) · 2.53 KB
/
pyproject.toml
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
# Specifies the build system requirements and backend
[build-system]
requires = [
"hatchling", # Build backend
"hatch-vcs", # Version control system plugin for dynamic versioning
"setuptools", # Setuptools for compiling C extensions
"wheel", # Wheel for packaging
"cython", # Cython for compiling C extensions
"numpy", # NumPy for numerical operations and C extension includes
]
build-backend = "hatchling.build"
# Project metadata and configuration
[project]
name = "jcvi"
description = "Python utility libraries on genome assembly, annotation and comparative genomics"
readme = "README.md"
requires-python = ">=3.8"
license = { text = "BSD" }
authors = [
{ name = "Haibao Tang", email = "[email protected]" },
{ name = "Vivek Krishnakumar" },
{ name = "Adam Taranto" },
]
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
dependencies = [
"biopython",
"boto3",
"brewer2mpl",
"CrossMap",
"cython",
"deap",
"ete3",
"ftpretty",
"genomepy",
"gffutils",
"goatools",
"graphviz",
"jinja2",
"matplotlib",
"more-itertools",
"natsort",
"networkx",
"numpy<2",
"ortools",
"pybedtools",
"pyefd",
"pypdf",
"pytesseract",
"rich",
"scikit-image",
"scipy",
"seaborn",
"Wand",
"webcolors",
]
dynamic = ["version"]
[project.optional-dependencies]
tests = ["mock", "pytest-benchmark", "pytest-cov", "pytest", "PyYAML"]
[project.urls]
homepage = "http://github.com/tanghaibao/jcvi"
# Command-line script entry point
[project.scripts]
jcvi = "jcvi.cli:main"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build]
packages = ["src"]
[tool.hatch.build.hooks.custom]
path = "build.py"
[tool.hatch.build.hooks.vcs]
version-file = "src/jcvi/_version.py"
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.vcs]
tag-pattern = "v*"
fallback-version = "0.0.0"
[tool.hatch.build.targets.sdist]
include = ["src/**/*.py", "src/**/*.pyx", "README.md"]
force-include = { "build.py" = "build.py", "setup.py" = "setup.py" }
exclude = ["src/jcvi/**/*.so", "src/jcvi/**/*.pyd", "src/jcvi/**/*.c"]
[tool.hatch.build.targets.wheel]
packages = ["src/jcvi"]
artifacts = [
"src/jcvi/**/*.so", # Linux/Mac shared objects
"src/jcvi/**/*.pyd", # Windows shared objects
"src/jcvi/**/*.c", # Generated C files
]