Skip to content

Commit

Permalink
abs import, pip no cache (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
jslay88 authored Apr 7, 2023
1 parent 940b980 commit 81b5002
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ARG PYTHON_VERSION="3.11"
FROM python:${PYTHON_VERSION}-alpine
ENV PIP_NO_CACHE_DIR=1
ENV BT_BACKUP_PATH=/tmp/BT_backup
WORKDIR /opt/qbt_migrate
COPY . .
Expand Down
4 changes: 2 additions & 2 deletions qbt_migrate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import logging
import os

from .classes import FastResume, QBTBatchMove
from .methods import convert_slashes, discover_bt_backup_path
from qbt_migrate.classes import FastResume, QBTBatchMove
from qbt_migrate.methods import convert_slashes, discover_bt_backup_path


__version__ = "2.3.2" + os.getenv("VERSION_TAG", "")
Expand Down
8 changes: 6 additions & 2 deletions qbt_migrate/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@
import bencodepy
from bencodepy.exceptions import BencodeDecodeError

from .enums import TargetOS
from .methods import backup_folder, convert_slashes, discover_bt_backup_path
from qbt_migrate.enums import TargetOS
from qbt_migrate.methods import (
backup_folder,
convert_slashes,
discover_bt_backup_path,
)


logger = logging.getLogger(__name__)
Expand Down
4 changes: 2 additions & 2 deletions qbt_migrate/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import sys
from pathlib import Path

from . import QBTBatchMove, __version__, discover_bt_backup_path
from .enums import TargetOS
from qbt_migrate import QBTBatchMove, __version__, discover_bt_backup_path
from qbt_migrate.enums import TargetOS


logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion qbt_migrate/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from pathlib import Path
from typing import Union

from .enums import TargetOS
from qbt_migrate.enums import TargetOS


logger = logging.getLogger(__name__)
Expand Down

0 comments on commit 81b5002

Please sign in to comment.