Restructure project layout and update references

This commit is contained in:
Kris Lamoureux 2024-10-06 21:50:00 -04:00
parent 236bb1b044
commit 4ab46ee2fc
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925
5 changed files with 9 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,3 +1,6 @@
config.ini
*.db
dist/
*.egg-info/
*/__pycache__/*
venv

4
pyproject.toml Normal file
View File

@ -0,0 +1,4 @@
[project]
name = "tarc"
version = "0.0.1dev2"
description = "Manage BT archives"

View File

@ -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

0
tarc/__init__.py Normal file
View File

View File

@ -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"
)