Skip to content

Commit

Permalink
fix constant location
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharsadhwani committed Jun 29, 2024
1 parent 4051367 commit 98a0468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/yen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import tarfile
from urllib.request import urlretrieve

from yen.downloader import download, read_url
from yen.downloader import SUFFIX_32BIT, download, read_url
from yen.github import resolve_python_version

YEN_BIN_PATH = os.path.abspath(
Expand All @@ -29,7 +29,6 @@
MICROVENV_PATH = os.path.join(YEN_BIN_PATH, "microvenv.py")

DEFAULT_PYTHON_VERSION = "3.12"
SUFFIX_32BIT = "_32bit"


class ExecutableDoesNotExist(Exception): ...
Expand Down
3 changes: 1 addition & 2 deletions src/yen/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
TransferSpeedColumn,
)

from yen import SUFFIX_32BIT

SUFFIX_32BIT = "_32bit"

PROGRESS = Progress(
TextColumn("[bold blue]{task.fields[display_name]}"),
Expand Down

0 comments on commit 98a0468

Please sign in to comment.