Move to different program structure

This commit is contained in:
Serene-Arc
2021-02-11 09:10:40 +10:00
committed by Ali Parlakci
parent a72abd6603
commit a7f1db14e5
24 changed files with 504 additions and 2133 deletions

View File

@@ -1,13 +1,15 @@
#!C:\Users\Ali\AppData\Local\Programs\Python\Python36\python.exe
## python setup.py build
# python setup.py build
import sys
from cx_Freeze import setup, Executable
from cx_Freeze import Executable, setup
from bulkredditdownloader.__main__ import __version__
options = {
"build_exe": {
"packages":[
"packages": [
"idna", "praw", "requests", "multiprocessing"
]
}
@@ -15,7 +17,7 @@ options = {
if sys.platform == "win32":
executables = [Executable(
"script.py",
"script.py",
targetName="bulk-downloader-for-reddit.exe",
shortcutName="Bulk Downloader for Reddit",
shortcutDir="DesktopFolder"
@@ -23,28 +25,26 @@ if sys.platform == "win32":
elif sys.platform == "linux":
executables = [Executable(
"script.py",
"script.py",
targetName="bulk-downloader-for-reddit",
shortcutName="Bulk Downloader for Reddit",
shortcutDir="DesktopFolder"
)]
setup(
name = "Bulk Downloader for Reddit",
version = __version__,
description = "Bulk Downloader for Reddit",
author = "Ali Parlakci",
name="Bulk Downloader for Reddit",
version=__version__,
description="Bulk Downloader for Reddit",
author="Ali Parlakci",
author_email="parlakciali@gmail.com",
url="https://github.com/aliparlakci/bulk-downloader-for-reddit",
classifiers=(
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)"
"Natural Language :: English",
"Environment :: Console",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)"
"Natural Language :: English",
"Environment :: Console",
"Operating System :: OS Independent",
),
executables = executables,
options = options
executables=executables,
options=options
)