import os
from setuptools import setup

install_reqs = [
    "RPi.GPIO",
    "picamera",
    "pushbullet.py"
]

with open("camera/__version__.py") as version_file:
    version = version_file.read().split("\"")[1]

try:
    with open(os.path.join(os.path.dirname(__file__), 'Readme.md')) as f:
        long_description = f.read()
except IOError:
    long_description = ""

setup(
    name="RPiSurveillanceCamera",
    version=version,
    author="Christian Ewald",
    author_email="hello@christianewald.de",
    description="Use RaspberryPi with motion sensor as a surveillance camera.",
    license="GNU LGPL V3",
    keywords="raspberry pi surveillance camera push pushbullet notification",
    url="https://github.com/christianewald/RPiSecureSurveillanceCamera",
    download_url="https://github.com/christianewald/RPiSecureSurveillanceCamera/archive/master.zip",
    packages=['camera'],
    long_description=long_description,
    install_requires=install_reqs,
    platforms=("Raspberry Pi", "Raspbian", "NOOBS"),
    classifiers=[]
)
