-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
52 lines (42 loc) · 1.35 KB
/
Copy pathsetup.py
File metadata and controls
52 lines (42 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import os
from setuptools import setup
APP = ["main.py"]
APP_NAME = "Internal IP"
VERSION = os.environ.get("APP_VERSION", "1.0.0")
BUILD_NUMBER = os.environ.get("APP_BUILD", "1")
OPTIONS = {
"argv_emulation": False,
"resources": ["language"],
"iconfile": "assets/InternalIP.icns",
"optimize": 1,
"arch": "universal2",
"plist": {
"CFBundleName": APP_NAME,
"CFBundleDisplayName": APP_NAME,
"CFBundleIdentifier": "com.wolfror.internalip",
"CFBundleShortVersionString": VERSION,
"CFBundleVersion": BUILD_NUMBER,
"LSUIElement": True,
"NSHighResolutionCapable": True,
"LSApplicationCategoryType": "public.app-category.utilities",
"NSHumanReadableCopyright": (
"Copyright © 2026 Dominik Krzywański"
),
},
}
setup(
name=APP_NAME,
version=VERSION,
description="Simple macOS menu bar utility for displaying local IPv4 addresses.",
author="Dominik Krzywański",
url="https://wolfror.com",
project_urls={
"Source Code": "https://github.com/WolfRorDev/internal-ip",
"Issues": "https://github.com/WolfRorDev/internal-ip/issues",
"Releases": "https://github.com/WolfRorDev/internal-ip/releases",
"Website": "https://wolfror.com",
},
license="MIT",
app=APP,
options={"py2app": OPTIONS},
)