-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (24 loc) · 688 Bytes
/
setup.py
File metadata and controls
36 lines (24 loc) · 688 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
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/env python
""" mixer -- Generate tests data.
mixer -- Description
"""
from os import path as op
from setuptools import setup
def _read(fname):
try:
return open(op.join(op.dirname(__file__), fname)).read()
except IOError:
return ''
install_requires = [
d for d in _read('requirements.txt').split('\n')
if d and not d.startswith('#')]
tests_requires = [
d for d in _read('requirements-tests.txt').split('\n')
if d and not d.startswith('#')]
setup(
packages=['mixer', 'mixer.backend'],
include_package_data=True,
install_requires=install_requires,
extras_require={'tests': tests_requires},
)
# lint_ignore=F0401