diff --git a/.gitignore b/.gitignore index 43f6a3c..13ac348 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ config.ini *.db +dist/ +*.egg-info/ +*/__pycache__/* venv diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..68dceb1 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,4 @@ +[project] +name = "tarc" +version = "0.0.1dev2" +description = "Manage BT archives" diff --git a/tarch b/tarc.sh similarity index 94% rename from tarch rename to tarc.sh index 3229f04..7a9e6e3 100755 --- a/tarch +++ b/tarc.sh @@ -14,7 +14,7 @@ fi source venv/bin/activate # Run the Python script -python main.py "$@" +python tarc/main.py "$@" # Deactivate the virtual environment deactivate diff --git a/tarc/__init__.py b/tarc/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/main.py b/tarc/main.py similarity index 99% rename from main.py rename to tarc/main.py index 6fa0a84..a24e381 100644 --- a/main.py +++ b/tarc/main.py @@ -154,7 +154,7 @@ def list_clients(conn): return rows -parser = argparse.ArgumentParser(description="Manage BitTorrent datasets", prog="tarch") +parser = argparse.ArgumentParser(description="Manage BT archives", prog="tarc") subparsers = parser.add_subparsers( dest="command", required=True, help="Available commands" )