-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·58 lines (50 loc) · 1.64 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
54
55
56
57
58
#!/usr/bin/env python3
from setuptools import setup
from twitchgamenotify.version import NAME, DESCRIPTION, VERSION
# Parse readme to include in PyPI page
with open("README.md") as f:
long_description = f.read()
def capitalize(s):
"""Capitalize the first letter of a string.
Unlike the capitalize string method, this leaves the other
characters untouched.
"""
return s[:1].upper() + s[1:]
setup(
name=NAME,
version=VERSION,
description=capitalize(DESCRIPTION),
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/mwiens91/twitch-game-notify",
author="Matt Wiens",
author_email="[email protected]",
license="MIT",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3 :: Only",
],
packages=["twitchgamenotify", "static"],
package_data={"static": ["twitch.svg"]},
entry_points={
"console_scripts": ["twitch-game-notify = twitchgamenotify.main:main"]
},
python_requires=">=3.7",
install_requires=[
"dbus-python>=1.2",
"notify2>=0.3",
"PyGObject>=3.42",
"PyYAML>=6.0",
"requests>=2.26",
"schema>=0.7",
],
)