-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
29 lines (24 loc) · 987 Bytes
/
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
import sys
from setuptools import setup
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("#")]
with open('README.md', 'r') as fh:
readme = fh.read()
if __name__ == '__main__':
setup(name='yn-lantern',
version='1.1.0',
description='A library for communicating with Yongnuo LED video lights.',
long_description = readme,
long_description_content_type = 'text/markdown',
url='https://github.com/kenkeiter/lantern',
author='Ken Keiter',
author_email='[email protected]',
license='MIT',
packages=['lantern'],
include_package_data=True,
keywords = ['video', 'photo', 'lantern', 'light'],
test_suite='nose.collector',
tests_require=['nose'],
install_requires=parse_requirements('requirements.txt'))