fd4958c06a
## Change log - Youtube support added - Custom filenames feature added - Custom folder structure feature added - Unsaving downloaded posts option added - Remove duplicate posts on different subreddits option added - Skipping given domains option added - Keeping track of already downloaded posts on a separate file option added (See --dowloaded-posts in README) - No audio on v.redd.it videos bug fixed (see README for details about ffmpeg) - --default-directory option is added - --default-options is added - --use-local-config option is added - Bug fixes
51 lines
1.3 KiB
Python
51 lines
1.3 KiB
Python
#!C:\Users\Ali\AppData\Local\Programs\Python\Python36\python.exe
|
|
|
|
## python setup.py build
|
|
import sys
|
|
from cx_Freeze import setup, Executable
|
|
from script import __version__
|
|
|
|
options = {
|
|
"build_exe": {
|
|
"packages":[
|
|
"idna","imgurpython", "praw", "requests", "multiprocessing"
|
|
]
|
|
}
|
|
}
|
|
|
|
if sys.platform == "win32":
|
|
executables = [Executable(
|
|
"script.py",
|
|
targetName="bulk-downloader-for-reddit.exe",
|
|
shortcutName="Bulk Downloader for Reddit",
|
|
shortcutDir="DesktopFolder"
|
|
)]
|
|
|
|
elif sys.platform == "linux":
|
|
executables = [Executable(
|
|
"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",
|
|
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",
|
|
),
|
|
executables = executables,
|
|
options = options
|
|
)
|
|
|
|
|