-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
49 lines (43 loc) · 1.49 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
#!/usr/bin/env python
# type: ignore
"""
mixtape: awesome mix vol 1 -> python asyncio gstreamer application mini-framework
"""
from setuptools import setup, find_packages
def parse_requirements(filename):
""" load requirements from a pip requirements file """
lineiter = (line.strip() for line in open(filename))
return [line for line in lineiter if line and not line.startswith("#")]
TEST_DEPS = parse_requirements("req-test.txt")
INSTALL_DEPS = parse_requirements("req-install.txt")
EXTRAS = {
"test": TEST_DEPS,
}
setup(
name="mixtape",
version="0.6.0.dev",
author="Ashley Camba Garrido",
author_email="ashwoods@gmail.com",
url="https://github.com/ashwoods/mixtape",
description="Gstreamer python application mini-framework",
long_description=__doc__,
packages=find_packages(exclude=("tests", "tests.*")),
# PEP 561
package_data={"mixtape": ["py.typed"]},
zip_safe=False,
license="MIT",
tests_require=TEST_DEPS,
extras_require=EXTRAS,
install_requires=INSTALL_DEPS,
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)