Skip to content

Commit 543e3ca

Browse files
committed
feat: add build and setup
1 parent f7bffcb commit 543e3ca

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

build.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
py setup.py build

setup.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import sys
2+
from src import __version__, __author__, __title__
3+
from cx_Freeze import setup, Executable
4+
5+
6+
setup(
7+
name=__title__,
8+
version=__version__,
9+
description="A simple Youtube Music rich presence for Discord",
10+
author=__author__,
11+
options={
12+
"build_exe": {
13+
"excludes": ["tkinter", "unittest"],
14+
}
15+
},
16+
executables=[
17+
Executable(
18+
"main.py",
19+
copyright="© 2020 - 2023 by " + __author__ + " - All rights reserved",
20+
icon="assets/icon.ico",
21+
targetName="Youtube Music Rich Presence.exe",
22+
shortcutName="Youtube Music RPC",
23+
)
24+
],
25+
)

0 commit comments

Comments
 (0)