summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--setup.py11
-rw-r--r--src/__init__.py14
2 files changed, 25 insertions, 0 deletions
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..97abf83
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,11 @@
+from setuptools import setup
+
+setup(
+ name='stashley',
+ version='2.0',
+ description='a program used for archiving personalities using TOML files',
+ author='msglm',
+ author_email='msglm@techchud.xyz',
+ packages=['src'], #same as name
+ install_requires=['yt-dlp', 'gallery-dl'], #external packages as dependencies
+ )
diff --git a/src/__init__.py b/src/__init__.py
new file mode 100644
index 0000000..500b322
--- /dev/null
+++ b/src/__init__.py
@@ -0,0 +1,14 @@
+import tomllib
+import argparse
+
+parser = argparse.ArgumentParser(
+ prog='Stashley',
+ description='a program used for archiving personalities using TOML files'
+ )
+parser.add_argument('filename', type=string, nargs=1, help="Toml file to process")
+
+args = parser.parse_args()
+
+input = tomllib.loads(args.filename)
+
+