LFPreviewer-2


Logs | Files | README | LICENSE | GitLab


1
commit 8efb25825b65a9eb97c9c5dc36237ee1e5cfce3f (HEAD -> master)
2
Author: Connor Etherington <[email protected]>
3
Date:   Sun Dec 3 02:24:34 2023 +0200
4
5
    Initial Commit
6
---
7
 LFPreviewer-2/__init__.py |  7 +++++++
8
 LFPreviewer-2/main.py     |  0
9
 setup.py                  | 11 +++++++++++
10
 updateRequirements.sh     |  2 ++
11
 4 files changed, 20 insertions(+)
12
13
diff --git a/LFPreviewer-2/__init__.py b/LFPreviewer-2/__init__.py
14
new file mode 100644
15
index 0000000..a8dd488
16
--- /dev/null
17
+++ b/LFPreviewer-2/__init__.py
18
@@ -0,0 +1,7 @@
19
+import argparse
20
+  import argcomplete
21
+parser = argparse.ArgumentParser(description='')
22
+parser.add_argument('-v', '--verbose', action='store_true', help='verbose output')
23
+argcomplete.autocomplete(parser)
24
+unknown, args = parser.parse_known_args()
25
+verbose = args.verbose
26
diff --git a/LFPreviewer-2/main.py b/LFPreviewer-2/main.py
27
new file mode 100644
28
index 0000000..e69de29
29
diff --git a/setup.py b/setup.py
30
new file mode 100644
31
index 0000000..38dbe9a
32
--- /dev/null
33
+++ b/setup.py
34
@@ -0,0 +1,11 @@
35
+from setuptools import setup, find_packages
36
+setup(
37
+    name='LFPreviewer-2',
38
+    version='0.1.0',
39
+    description='',
40
+    author='Connor Etherington',
41
+    author_email='[email protected]',
42
+    packages=find_packages(),
43
+    install_requires=[],
44
+    entry_points={'console_scripts': ['LFPreviewer-2=LFPreviewer-2.main:main']}
45
+)
46
diff --git a/updateRequirements.sh b/updateRequirements.sh
47
new file mode 100755
48
index 0000000..a774fd3
49
--- /dev/null
50
+++ b/updateRequirements.sh
51
@@ -0,0 +1,2 @@
52
+  #!/usr/bin/env bash
53
+  pipreqs --force --savepath ./requirements.txt ./LFPreviewer-2