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 /setup.py | |
| parent | d05e429615dc1951ff75d38fd21925464b18eaaa (diff) | |
| download | texty-cc117cf27d280843ee724c1cd59003bedb2823b0.tar.xz texty-cc117cf27d280843ee724c1cd59003bedb2823b0.zip | |
chore: added support for building project using pyinstaller
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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() |
