-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (41 loc) · 1.45 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
"""setup.py for forked-daapd package."""
from __future__ import print_function
import io
from setuptools import setup
import pyforked_daapd
def read(*filenames, **kwargs):
"""Read helper."""
encoding = kwargs.get("encoding", "utf-8")
sep = kwargs.get("sep", "\n")
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as file:
buf.append(file.read())
return sep.join(buf)
LONG_DESCRIPTION = read("README.md")
setup(
name="pyforked-daapd",
version=pyforked_daapd.__version__,
url="https://github.com/uvjustin/pyforked-daapd/",
author="Justin Wong",
install_requires=["aiohttp"],
author_email="[email protected]",
description="Python Interface for forked-daapd",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
package_data={"pyforked_daapd": ["py.typed"]},
zip_safe=False,
packages=["pyforked_daapd"],
include_package_data=True,
platforms="any",
classifiers=[
"Programming Language :: Python",
"Development Status :: 4 - Beta",
"Natural Language :: English",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)