-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathsetup.py
More file actions
26 lines (22 loc) · 703 Bytes
/
Copy pathsetup.py
File metadata and controls
26 lines (22 loc) · 703 Bytes
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
#!/usr/bin/env python3
from setuptools import setup
import os
__version__ = None
with open(os.path.join(os.path.dirname(__file__), "curseradio", "__init__.py")) as f:
for line in f.readlines():
if line.startswith("__version__"):
exec(line)
setup(
name="curseradio",
version=__version__,
description="Curses interface for browsing and playing internet radio",
author="Gordon Ball",
author_email="gordon@chronitis.net",
url="https://github.com/chronitis/curseradio",
packages=["curseradio"],
license="MIT",
requires=["lxml", "requests", "pyxdg"],
entry_points={
'console_scripts': 'curseradio = curseradio.__main__:main'
}
)