Skip to content

Commit e7ad4e5

Browse files
authored
fix(build): add tokencost to build.py, update pyinstaller to 6.11.0, new ERROR_REPORTING_DSN
1 parent 0ce11f3 commit e7ad4e5

File tree

5 files changed

+32
-23
lines changed

5 files changed

+32
-23
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ src
3838

3939
dist/
4040
build/
41+
42+
OpenAdapt.spec
43+
build_scripts/OpenAdapt.iss

openadapt/build.py

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import pydicom
2323
import pyqttoast
2424
import spacy_alignments
25+
import tokencost
2526
import ultralytics
2627
import whisper
2728

@@ -43,12 +44,15 @@ def build_pyinstaller() -> None:
4344
pycocotools,
4445
pyqttoast,
4546
whisper,
47+
tokencost,
4648
]
4749
if sys.platform == "win32":
4850
additional_packages_to_install.append(screen_recorder_sdk)
4951
packages_to_exclude = [
5052
"pytest",
5153
"py",
54+
"_pytest",
55+
"sympy.testing",
5256
]
5357

5458
packages_metadata_to_copy = [

openadapt/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class SegmentationAdapter(str, Enum):
127127
ERROR_REPORTING_ENABLED: bool = True
128128
ERROR_REPORTING_DSN: ClassVar = (
129129
# "https://dcf5d7889a3b4b47ae12a3af9ffcbeb7@app.glitchtip.com/3798"
130-
"https://5d24fc5a2e674ea6b42275e5702499ce@app.glitchtip.com/8771",
130+
"https://5d24fc5a2e674ea6b42275e5702499ce@app.glitchtip.com/8771"
131131
)
132132
ERROR_REPORTING_BRANCH: ClassVar = "main"
133133

poetry.lock

+23-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ torch = "^2.0.0"
4949
tqdm = "4.64.0"
5050
transformers = "4.29.2"
5151
python-dotenv = "1.0.0"
52-
pyinstaller = "6.5.0"
52+
pyinstaller = "6.11.0"
5353
setuptools-lint = "^0.6.0"
5454
sphinx = "7.0.1"
5555
nicegui = "^1.2.24"

0 commit comments

Comments
 (0)