aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PKGLIST6
-rw-r--r--README.md5
-rw-r--r--setup.py13
3 files changed, 16 insertions, 8 deletions
diff --git a/PKGLIST b/PKGLIST
new file mode 100644
index 0000000..63bf37e
--- /dev/null
+++ b/PKGLIST
@@ -0,0 +1,6 @@
+black
+isort
+click
+inquirer
+pyyaml
+tk
diff --git a/README.md b/README.md
index 7faf4eb..5c43de8 100644
--- a/README.md
+++ b/README.md
@@ -150,7 +150,4 @@ The maintainers in the `maintainers.yml` file are listed in the following format
> **Note**: Please do not edit the `README.md` file directly. Instead, edit the `maintainers.yml` file and run the `commit.sh` script to generate the `README.md` file.
-<!-- maintainers -->
-- [Bobby](luciferreeves) - [https://thatcomputerscientist.com](https://thatcomputerscientist.com)
-
-![Bobby](https://github.com/luciferreeves.png?size=40)
+<!-- maintainers --> - [Bobby](luciferreeves) - [https://thatcomputerscientist.com](https://thatcomputerscientist.com) ![Bobby](https://github.com/luciferreeves.png?size=40) \ No newline at end of file
diff --git a/setup.py b/setup.py
index af1d49d..377d122 100644
--- a/setup.py
+++ b/setup.py
@@ -23,11 +23,16 @@ def install_pip(package_name):
)
-PACKAGES = ["black", "isort", "click", "inquirer", "pyyaml"]
-
-
def install_packages():
- install_pip(" ".join(PACKAGES))
+ # read PKGLIST file
+ packages = []
+ with open("PKGLIST", "r") as f:
+ packages = f.readlines()
+ packages = [x.strip() for x in packages]
+ packages = " ".join(packages)
+
+ # install packages
+ install_pip(packages)
import click