Skip to content

Commit

Permalink
update for packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
tanliwei-coder committed Dec 12, 2024
1 parent 0f3a322 commit 4f85dba
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 6 deletions.
30 changes: 27 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ classifiers= [
dynamic = ["version", "dependencies"]

[project.optional-dependencies]
image-cpu = [
image = [
"cell-bin==1.3.4.1",
"tensorflow==2.12.0",
"torch==2.4.1+cpu",
Expand Down Expand Up @@ -59,13 +59,37 @@ image-cu12 = [
"onnxruntime-gpu"
]
singler-gpu = ["cusingler"]
spt = [
"torch==2.4.1+cpu",
"pysal<=2.6.0",
"pygam>=0.8.0",
"nbformat",
]
spt-cu11 = [
"torch==2.4.1+cu118",
"pysal<=2.6.0",
"pygam>=0.8.0",
"nbformat",
]
spt-cu12 = [
"torch==2.4.1+cu124",
"pysal<=2.6.0",
"pygam>=0.8.0",
"nbformat",
]
all = [
"stereopy[image]",
"stereopy[spt]"
]
all-cu11 = [
"stereopy[image-cu11]",
"stereopy[singler-gpu]"
"stereopy[singler-gpu]",
"stereopy[spt-cu11]"
]
all-cu12 = [
"stereopy[image-cu12]",
"stereopy[singler-gpu]"
"stereopy[singler-gpu]",
"stereopy[spt-cu12]"
]

[tool.setuptools.dynamic]
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ plotly>=5.15.0
# cusingler
# cell-bin==1.3.4.1

pysal<=2.6.0
pygam>=0.8.0
# pysal<=2.6.0
# pygam>=0.8.0
2 changes: 1 addition & 1 deletion stereo/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"""

# version
version = '1.5.0'
version = '1.5.1a3'

0 comments on commit 4f85dba

Please sign in to comment.