-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (87 loc) · 2.18 KB
/
pyproject.toml
File metadata and controls
103 lines (87 loc) · 2.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
[project]
name = "render-python"
description = "python API client to interact with render databases (see https://github.com/saalfeldlab/render)"
readme = "README.rst"
license = {file = "LICENSE"}
authors = [
{name = "Forrest Collman"},
{name = "Russel Torres"},
{name = "Eric Perlman"},
{name = "Sharmi Seshamani"}
]
maintainers = [
{name = "Russel Torres"}
]
requires-python = ">3.8,<3.14"
dynamic = ["version"]
dependencies = [
"requests",
"scipy",
"numpy",
"pillow",
"sphinxcontrib-napoleon",
"decorator",
"six"
]
[project.urls]
Repository = "https://github.com/AllenInstitute/render-python.git"
[project.optional-dependencies]
test = [
"coverage>=4.1",
"mock>=2.0.0",
"pep8>=1.7.0",
# "pytest>4.6,<5.0",
"pytest",
"pytest-cov>=2.2.1",
"pytest-pep8>=1.0.6",
"pytest-xdist>=1.14",
"flake8>=3.0.4",
"pylint>=1.5.4",
"jinja2",
"ujson"
]
pypi-build = [
"build",
"twine"
]
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = [
"renderapi"
]
[tool.setuptools_scm]
version_file = "renderapi/_version.py"
# some downgrades from pixi's expectations
[tool.pixi.system-requirements]
linux = "5.0.0"
libc = "2.27"
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["linux-64"]
[tool.pixi.pypi-dependencies]
render-python = { path = ".", editable = true }
# conda-enabled features
[tool.pixi.feature.pixi-base.dependencies]
numpy = "*"
scipy = "*"
[tool.pixi.feature.py312.dependencies]
python = "3.12.*"
[tool.pixi.feature.py313.dependencies]
python = "3.13.*"
[tool.pixi.environments]
test = ["test"]
conda = ["pixi-base"]
conda-test = ["pixi-base", "test"]
build = ["pypi-build"]
test312 = ["py312", "test"]
test313 = ["py313", "test"]
[tool.coverage.run]
omit = ["integration_tests/*", "test/*"]
[tool.pixi.feature.test.tasks]
test = "pytest --cov --cov-report=xml --junitxml=test-reports/test.xml"
[tool.pixi.feature.pypi-build.tasks]
pypi-build = "python -m build"
pypi-test-upload = "python -m twine upload --repository testpypi dist/*"
pypi-test-deploy = "python -m build && python -m twine upload --repository testpypi dist/*"