Skip to content

Commit

Permalink
fix(build): add tokencost to build.py, update pyinstaller to 6.11.0, …
Browse files Browse the repository at this point in the history
…new ERROR_REPORTING_DSN
  • Loading branch information
KIRA009 authored Oct 30, 2024
1 parent 0ce11f3 commit e7ad4e5
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 23 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ src

dist/
build/

OpenAdapt.spec
build_scripts/OpenAdapt.iss
4 changes: 4 additions & 0 deletions openadapt/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import pydicom
import pyqttoast
import spacy_alignments
import tokencost
import ultralytics
import whisper

Expand All @@ -43,12 +44,15 @@ def build_pyinstaller() -> None:
pycocotools,
pyqttoast,
whisper,
tokencost,
]
if sys.platform == "win32":
additional_packages_to_install.append(screen_recorder_sdk)
packages_to_exclude = [
"pytest",
"py",
"_pytest",
"sympy.testing",
]

packages_metadata_to_copy = [
Expand Down
2 changes: 1 addition & 1 deletion openadapt/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class SegmentationAdapter(str, Enum):
ERROR_REPORTING_ENABLED: bool = True
ERROR_REPORTING_DSN: ClassVar = (
# "https://[email protected]/3798"
"https://[email protected]/8771",
"https://[email protected]/8771"
)
ERROR_REPORTING_BRANCH: ClassVar = "main"

Expand Down
44 changes: 23 additions & 21 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ torch = "^2.0.0"
tqdm = "4.64.0"
transformers = "4.29.2"
python-dotenv = "1.0.0"
pyinstaller = "6.5.0"
pyinstaller = "6.11.0"
setuptools-lint = "^0.6.0"
sphinx = "7.0.1"
nicegui = "^1.2.24"
Expand Down

0 comments on commit e7ad4e5

Please sign in to comment.