-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
40 lines (33 loc) · 812 Bytes
/
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
__author__ = "Alex DeLorenzo"
from setuptools import setup
from pathlib import Path
NAME = "onhold"
VERSION = "0.6.6"
LICENSE = "AGPL-3.0"
DESC = "🔊 Play music while and after jobs complete"
REQUIREMENTS = \
Path('requirements.txt') \
.read_text() \
.split('\n')
README = Path('README.md').read_text()
ENTRY_POINTS = {
"console_scripts":
[f"{NAME} = {NAME}.during:cmd",
f"ding = {NAME}.after:cmd"]
}
setup(
name=NAME,
version=VERSION,
description=DESC,
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/alexdelorenzo/onhold",
author=__author__,
license=LICENSE,
packages=[NAME],
zip_safe=True,
install_requires=REQUIREMENTS,
entry_points=ENTRY_POINTS,
python_requires='>=3.6',
include_package_data=True,
)