-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
52 lines (46 loc) · 1.12 KB
/
Copy pathpyproject.toml
File metadata and controls
52 lines (46 loc) · 1.12 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
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "gan-lab-tensorflow"
version = "0.2.0"
description = "A TensorFlow GAN lab plus a real-time, steerable GAN training observatory."
readme = "README.md"
requires-python = ">=3.10"
authors = [{ name = "yabtesfu" }]
license = "MIT"
# Core install is lightweight: only NumPy. The TensorFlow/Keras models and the
# matplotlib helpers are imported lazily, so they are opt-in extras -- this is
# what lets the real-time observatory run (and containerise) without a 500 MB
# TensorFlow install.
dependencies = [
"numpy>=1.24"
]
[project.optional-dependencies]
web = [
"fastapi>=0.110",
"uvicorn[standard]>=0.29",
"websockets>=12.0"
]
tf = [
"tensorflow>=2.15; python_version < '3.13'"
]
viz = [
"matplotlib>=3.8"
]
dev = [
"pytest>=8.0",
"ruff>=0.4"
]
notebook = [
"jupyter>=1.0",
"pandas>=2.0"
]
[project.scripts]
gan-lab = "gan_lab_tensorflow.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"gan_lab_tensorflow.live" = ["static/*"]
[tool.pytest.ini_options]
testpaths = ["tests"]