Skip to content

Commit 7117d71

Browse files
committed
build .dmg on python3.10
1 parent d8f3881 commit 7117d71

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

.github/workflows/deploy-dmg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Python
1515
uses: actions/setup-python@v5
1616
with:
17-
python-version: '3.12'
17+
python-version: '3.10'
1818

1919
- name: Install tomli for version extraction
2020
run: python -m pip install tomli

macos/setup.py

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
from setuptools import find_packages, setup
22

3-
APP = ["../photomap/backend/photomap_server.py"]
3+
APP = ["./main.py"]
44
DATA_FILES = []
55
OPTIONS = {
6-
"argv_emulation": True,
7-
"packages": ["photomap"],
6+
# "argv_emulation": True,
7+
# "packages": ["photomap"],
88
"includes": [
9-
"fastapi",
10-
"uvicorn",
11-
"jinja2",
12-
"numpy",
13-
"pandas",
14-
"networkx",
15-
"pillow_heif",
16-
"platformdirs",
17-
"pydantic",
18-
"python_multipart",
19-
"PyYAML",
20-
"requests",
21-
"scikit_learn",
22-
"torch",
23-
"tqdm",
24-
"umap_learn",
25-
"psutil",
26-
"packaging",
27-
"dash",
28-
"clip_anytorch",
29-
"colorama",
9+
# "fastapi",
10+
# "uvicorn",
11+
# "jinja2",
12+
# "numpy",
13+
# "pandas",
14+
# "networkx",
15+
# "pillow_heif",
16+
# "platformdirs",
17+
# "pydantic",
18+
# "python_multipart",
19+
# "PyYAML",
20+
# "requests",
21+
# "scikit_learn",
22+
# "torch",
23+
# "tqdm",
24+
# "umap_learn",
25+
# "psutil",
26+
# "packaging",
27+
# "dash",
28+
# "clip_anytorch",
29+
# "colorama",
3030
],
3131
"iconfile": "../photomap/frontend/static/icons/icon.icns",
3232
}

0 commit comments

Comments
 (0)