This repository was archived by the owner on Dec 28, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (42 loc) · 1.63 KB
/
setup.py
File metadata and controls
47 lines (42 loc) · 1.63 KB
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
from distutils.extension import Extension
VERSION = "0.4.0"
setup(
name="pi_switch",
packages = [ "pi_switch" ],
version = VERSION,
description = "A library for the raspberry pi to control remote power outlet sockets.",
author = "Alexander Rüedlinger",
author_email = "a.rueedlinger@gmail.com",
url = "https://github.com/lexruee/pi-switch-python",
download_url = "https://github.com/lexruee/pi-switch-python/tarball/%s" % VERSION,
keywords = ['switch', 'outlet sockets', 'control', 'remote', 'raspberry pi'],
classifiers = [
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Development Status :: 3 - Alpha",
"Operating System :: Other OS",
"Intended Audience :: Developers",
"Topic :: System :: Hardware",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
"Environment :: Other Environment"
],
ext_modules = [
Extension("_pi_switch",
sources = [
"pi_switch/wrapper/pi_switch.cpp"
],
libraries = ["boost_python", "wiringPi"],
extra_compile_args=[
'-Wno-write-strings'
])
],
long_description = """\
Pi Switch
-------------------------------------
Pi Switch is a library for controlling 315/433MHz remote power outlet sockets.
This library is a port of the Arduino rc-switch library for the Raspberry Pi and the Python Programming Language.
"""
)