-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
53 lines (48 loc) · 1.78 KB
/
setup.py
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
53
from setuptools import setup
packages = ["windows_toasts", "scripts"]
requires = [
"winrt-runtime~=2.0",
"winrt-Windows.Data.Xml.Dom~=2.0",
"winrt-Windows.Foundation~=2.0",
"winrt-Windows.Foundation.Collections~=2.0",
"winrt-Windows.UI.Notifications~=2.0",
]
with open("README.md", "r", encoding="utf-8") as f:
readme = f.read()
about: dict[str, str] = {}
with open("src/windows_toasts/_version.py", "r") as f:
exec(f.read(), None, about)
setup(
name=about["__title__"],
version=about["__version__"],
description=about["__description__"],
long_description=readme,
long_description_content_type="text/markdown",
author=about["__author__"],
author_email="datguysteam@gmail.com",
url=about["__url__"],
packages=packages,
package_dir={"windows_toasts": "src/windows_toasts"},
package_data={"": ["LICENSE"], "windows_toasts": ["py.typed"]},
include_package_data=True,
entry_points={"console_scripts": ["register_hkey_aumid = scripts.register_hkey_aumid:main"]},
python_requires=">=3.9",
install_requires=requires,
license=about["__license__"],
zip_safe=False,
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Operating System :: Microsoft :: Windows :: Windows 11",
],
project_urls={
"Documentation": "https://windows-toasts.readthedocs.io",
"Source": "https://github.com/DatGuy1/Windows-Toasts",
},
)