diff options
| author | Bobby <[email protected]> | 2022-11-06 02:03:32 -0500 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-11-06 02:03:32 -0500 |
| commit | cc117cf27d280843ee724c1cd59003bedb2823b0 (patch) | |
| tree | 20e13391da008f094496952d40a3294ac7a08698 | |
| parent | d05e429615dc1951ff75d38fd21925464b18eaaa (diff) | |
| download | texty-cc117cf27d280843ee724c1cd59003bedb2823b0.tar.xz texty-cc117cf27d280843ee724c1cd59003bedb2823b0.zip | |
chore: added support for building project using pyinstaller
| -rw-r--r-- | PKGLIST | 1 | ||||
| -rw-r--r-- | setup.py | 6 |
2 files changed, 7 insertions, 0 deletions
@@ -4,3 +4,4 @@ click inquirer pyyaml tk +pyinstaller @@ -183,6 +183,12 @@ def sort(): cli.add_command(sort) [email protected](help="Build the project.") +def build(): + logger.info("Building the project...") + os.system("pyinstaller --onefile --windowed --name Texty src/texty.py") + +cli.add_command(build) if __name__ == "__main__": cli() |
