Skip to content

Commit

Permalink
Reorg for pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
sdfordham committed Mar 13, 2023
1 parent a2bc5b0 commit 02d0a9d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "transmission_autoloader"
requires-python = ">=3.8"

[project.scripts]
my-script = "transmission_autoloader.cli:main"
6 changes: 3 additions & 3 deletions cli.py → src/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
from pathlib import Path
from typing import Optional

from torrent import TorrentData
from transmission import TransmissionCommand
from methods import find_files, parse_list_output
from src.torrent import TorrentData
from src.transmission import TransmissionCommand
from src.methods import find_files, parse_list_output


def main(
Expand Down
2 changes: 1 addition & 1 deletion methods.py → src/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from pathlib import Path
from typing import Optional

from transmission import TransmissionRow
from src.transmission import TransmissionRow


def find_files(
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 02d0a9d

Please sign in to comment.