-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Included setup.py for freezing, changed if/if not to if/else blocks
- Loading branch information
Showing
5 changed files
with
34 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,6 @@ Run.lnk | |
*.pyc | ||
*.gif | ||
|
||
setup.py | ||
cacert.pem | ||
build | ||
praw.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import sys | ||
import cx_Freeze | ||
import PySide | ||
import praw | ||
import requests.certs | ||
import requests | ||
from cx_Freeze import setup, Executable | ||
|
||
exe = Executable( | ||
script="WallDit_QT.pyw", | ||
base="Win32GUI", | ||
targetName="WallDit_QT.exe" | ||
) | ||
|
||
setup(name = 'WallDit_QT', | ||
version = '1.0', | ||
author = 'Disco Dolan', | ||
description ='Set your wallpaper interactively!', | ||
executables = [exe], | ||
options = { | ||
'build_exe': { | ||
"include_files": [ | ||
(requests.certs.where(),'cacert.pem'), | ||
'praw.ini', | ||
'README.md' | ||
] | ||
} | ||
}, | ||
requires = ['PySide', 'cx_Freeze', 'praw', 'shutil', 'requests'] | ||
) |