1
0
Fork 0
mirror of synced 2024-06-24 17:10:19 +12:00
bulk-downloader-for-reddit/setup.py

51 lines
1.3 KiB
Python
Raw Normal View History

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