-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (35 loc) · 1.12 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
import setuptools # type: ignore
version = {}
with open("walkman/version.py") as fp:
exec(fp.read(), version)
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="audiowalkman",
version=version["__version__"],
license="GPL",
description="play audio files in performance contexts",
long_description=long_description,
long_description_content_type="text/markdown",
author="Levin Eric Zimmermann",
author_email="[email protected]",
setup_requires=[],
install_requires=[
# for audio
"pyo>=1.0.3",
# for GUI
"PySimpleGUI>=4.59.0, <5.0.0",
# for CLI
"click>=8.1.3, <9.0.0",
# to read config files
"tomli>=2.0.1, <3.0.0",
# to parse jinja2 syntax in config files
"jinja2>=3.1.2, <4.0.0",
],
packages=[
package for package in setuptools.find_packages() if package[:5] != "tests"
],
python_requires=">=3.10",
extras_require={"testing": ["pytest"]},
entry_points={"console_scripts": ["walkman=walkman.__main__:main"]},
)