-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
84 lines (68 loc) · 1.65 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
[tool.black]
line-length = 115
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
# The following are specific to Black, you probably don't want those.
| blib2to3
| tests/data
)/
'''
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "ganrec"
version = "0.2.2"
description = "A deep neural network data reconstruction platform"
authors = [
{ name = "Xiaogang Yang", email = "[email protected]" }
]
license = { file = "LICENSE" }
readme = "README.md"
keywords = ["GAN", "Data reconstruction", "Tomography", "Phase retrieval"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
requires-python = ">=3.9"
dependencies = [
"numpy>=1.19.2",
"tifffile>=2023.12.9",
"matplotlib>=3.3.2",
"scikit-image>=0.19.3",
"ipython>=8.12.3",
"tqdm>=4.65.0",
]
[project.optional-dependencies]
tensorflow = ["tensorflow>=2.0.0"]
pytorch = [
"torch>=2.0.0",
"torchvision",
"quantities",
]
[project.urls]
homepage = "https://github.com/XYangXRay/ganrec"
repository = "https://github.com/XYangXRay/ganrec"
documentation = "https://github.com/XYangXRay/ganrec"
[tool.hatch.build.targets.wheel]
include = ["ganrectf", "ganrectorch"]
[tool.setuptools.packages.find]
where = ["ganrectf", "ganrectorch"]
exclude = ["tests*"]
[tool.hatch.publish]
[tool.hatch.publish.repository]
url = "https://upload.pypi.org/legacy/"
[tool.hatch.publish.auth]
username = "env:TWINE_USERNAME"
password = "env:TWINE_PASSWORD"