Skip to content

Commit

Permalink
fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
o-murphy committed Dec 12, 2024
1 parent d8bb6b5 commit 6ee2d70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.9
0.0.9.post1
8 changes: 3 additions & 5 deletions a7p/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,18 @@
import pathlib
import sys
from argparse import ArgumentParser
from dataclasses import dataclass, asdict
from dataclasses import dataclass
from importlib import metadata
from asyncio import Semaphore
from pprint import pprint

from a7p.a7p import A7PFile, A7PDataError
from a7p import protovalidate
from a7p.protovalidate import ValidationError, Violations

try:
__version__ = metadata.version("archerdfu")
__version__ = metadata.version("a7p")
except metadata.PackageNotFoundError:
with open("VERSION") as f:
__version__ = f.read().strip()
__version__ = "undefined version"

# Define a global Semaphore with a maximum number of threads
MAX_THREADS = 5 # Set the maximum number of threads
Expand Down

0 comments on commit 6ee2d70

Please sign in to comment.