diff options
| author | Bobby <[email protected]> | 2022-11-06 00:58:50 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-11-06 00:58:50 -0400 |
| commit | 8f8d5b2fa7264e9c614a048fd55dbd9925c1aeed (patch) | |
| tree | c8103cf9ec4b7233378d9e931f626dae317b8c67 /setup.py | |
| parent | f53b87610f564dfd46c597531e3da723e1b00a0c (diff) | |
| download | texty-8f8d5b2fa7264e9c614a048fd55dbd9925c1aeed.tar.xz texty-8f8d5b2fa7264e9c614a048fd55dbd9925c1aeed.zip | |
feat: added pkglist
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -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 |
