From 8f8d5b2fa7264e9c614a048fd55dbd9925c1aeed Mon Sep 17 00:00:00 2001 From: Bobby Date: Sun, 6 Nov 2022 00:58:50 -0400 Subject: feat: added pkglist --- PKGLIST | 6 ++++++ README.md | 5 +---- setup.py | 13 +++++++++---- 3 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 PKGLIST 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. - -- [Bobby](luciferreeves) - [https://thatcomputerscientist.com](https://thatcomputerscientist.com) - -![Bobby](https://github.com/luciferreeves.png?size=40) + - [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 -- cgit v1.2.3