From 9ee1c0391e747e0786f03e3d464cb97aa3029024 Mon Sep 17 00:00:00 2001 From: Anton Lindroth Date: Fri, 25 May 2018 23:18:28 +0200 Subject: [PATCH 1/2] Fixes #6 --- __init__.py | 1 - dht11.py => rpi-dht11/dht11.py | 0 setup.py | 15 +++++++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) delete mode 100644 __init__.py rename dht11.py => rpi-dht11/dht11.py (100%) create mode 100644 setup.py diff --git a/__init__.py b/__init__.py deleted file mode 100644 index 8b13789..0000000 --- a/__init__.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/dht11.py b/rpi-dht11/dht11.py similarity index 100% rename from dht11.py rename to rpi-dht11/dht11.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..f453ee6 --- /dev/null +++ b/setup.py @@ -0,0 +1,15 @@ +import setuptools + +with open("README.md", "r") as fh: + long_description = fh.read() + +setuptools.setup( + name="rpi-dht11", + version="1.0.0", + author="szazo", + description="A package for reading data from DHT11", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/szazo/DHT11_Python.git", + packages=setuptools.find_packages() +) \ No newline at end of file From 9e3e7d0de38d8b9ad6bb8b15a7023226e6737809 Mon Sep 17 00:00:00 2001 From: Anton Lindroth Date: Fri, 25 May 2018 23:22:50 +0200 Subject: [PATCH 2/2] __init__.py wasn't added --- rpi-dht11/__init__.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 rpi-dht11/__init__.py diff --git a/rpi-dht11/__init__.py b/rpi-dht11/__init__.py new file mode 100644 index 0000000..3cc762b --- /dev/null +++ b/rpi-dht11/__init__.py @@ -0,0 +1 @@ +"" \ No newline at end of file