summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-12-06 13:52:53 +0100
committermakefu <github@syntax-fehler.de>2017-12-06 13:52:53 +0100
commit6bfcd8a348962f0357372f4e74c286f93e6eec26 (patch)
tree00d97bfb8a716afc118a35f7bb7097456bf46511
parent8727451b41b057d36e76cecdb543015c0f50b304 (diff)
setup.py: init
-rw-r--r--ampel/__init__.py (renamed from __init__.py)0
-rwxr-xr-xampel/ampel.py (renamed from ampel.py)2
-rwxr-xr-xampel/fade.py (renamed from fade.py)0
-rwxr-xr-xampel/google-muell.py (renamed from google-muell.py)0
-rwxr-xr-xampel/muell.py (renamed from muell.py)0
-rw-r--r--ampel/vvs_efa/README.md (renamed from vvs_efa/README.md)0
-rw-r--r--ampel/vvs_efa/VVS_EFA.py (renamed from vvs_efa/VVS_EFA.py)0
-rw-r--r--ampel/vvs_efa/__init__.py (renamed from vvs_efa/__init__.py)0
-rw-r--r--setup.py33
9 files changed, 34 insertions, 1 deletions
diff --git a/__init__.py b/ampel/__init__.py
index e69de29..e69de29 100644
--- a/__init__.py
+++ b/ampel/__init__.py
diff --git a/ampel.py b/ampel/ampel.py
index 976bdd8..effec24 100755
--- a/ampel.py
+++ b/ampel/ampel.py
@@ -16,7 +16,7 @@ BLUE GR YEL RED BLUE
"""
from docopt import docopt
from influxdb import InfluxDBClient
-from fade import calc_chain
+from ampel.fade import calc_chain
import time
from time import sleep
import json
diff --git a/fade.py b/ampel/fade.py
index 8aea815..8aea815 100755
--- a/fade.py
+++ b/ampel/fade.py
diff --git a/google-muell.py b/ampel/google-muell.py
index b3652cb..b3652cb 100755
--- a/google-muell.py
+++ b/ampel/google-muell.py
diff --git a/muell.py b/ampel/muell.py
index 3b84f02..3b84f02 100755
--- a/muell.py
+++ b/ampel/muell.py
diff --git a/vvs_efa/README.md b/ampel/vvs_efa/README.md
index 0dae508..0dae508 100644
--- a/vvs_efa/README.md
+++ b/ampel/vvs_efa/README.md
diff --git a/vvs_efa/VVS_EFA.py b/ampel/vvs_efa/VVS_EFA.py
index 3a3ca3d..3a3ca3d 100644
--- a/vvs_efa/VVS_EFA.py
+++ b/ampel/vvs_efa/VVS_EFA.py
diff --git a/vvs_efa/__init__.py b/ampel/vvs_efa/__init__.py
index e69de29..e69de29 100644
--- a/vvs_efa/__init__.py
+++ b/ampel/vvs_efa/__init__.py
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..cfbb372
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,33 @@
+from setuptools import setup
+
+import sys
+
+setup(
+ name='ampel',
+ version='0.2.3',
+
+ description='uses the ampel',
+ long_description=open("README.md").read(),
+ license='WTFPL',
+ url='http://localhost/',
+ download_url='http://localhost/',
+
+ author='makefu',
+ author_email='github.com@syntax-fehler.de',
+
+ packages=['ampel'],
+ entry_points={
+ 'console_scripts' : [ 'ampel = ampel.ampel:main' ],
+ },
+ install_requires= [
+ 'requests','docopt','influxdb', 'paho-mqtt','pytz'
+ ],
+ classifiers=[
+ "Natural Language :: English",
+ "Operating System :: POSIX :: Linux",
+ "Programming Language :: Python",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: Implementation :: CPython",
+ ],
+)
+