Restructure project layout and update references
This commit is contained in:
parent
236bb1b044
commit
4ab46ee2fc
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,6 @@
|
|||||||
config.ini
|
config.ini
|
||||||
*.db
|
*.db
|
||||||
|
dist/
|
||||||
|
*.egg-info/
|
||||||
|
*/__pycache__/*
|
||||||
venv
|
venv
|
||||||
|
4
pyproject.toml
Normal file
4
pyproject.toml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[project]
|
||||||
|
name = "tarc"
|
||||||
|
version = "0.0.1dev2"
|
||||||
|
description = "Manage BT archives"
|
@ -14,7 +14,7 @@ fi
|
|||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
|
|
||||||
# Run the Python script
|
# Run the Python script
|
||||||
python main.py "$@"
|
python tarc/main.py "$@"
|
||||||
|
|
||||||
# Deactivate the virtual environment
|
# Deactivate the virtual environment
|
||||||
deactivate
|
deactivate
|
0
tarc/__init__.py
Normal file
0
tarc/__init__.py
Normal file
@ -154,7 +154,7 @@ def list_clients(conn):
|
|||||||
return rows
|
return rows
|
||||||
|
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(description="Manage BitTorrent datasets", prog="tarch")
|
parser = argparse.ArgumentParser(description="Manage BT archives", prog="tarc")
|
||||||
subparsers = parser.add_subparsers(
|
subparsers = parser.add_subparsers(
|
||||||
dest="command", required=True, help="Available commands"
|
dest="command", required=True, help="Available commands"
|
||||||
)
|
)
|
Loading…
Reference in New Issue
Block a user