Skip to content

Commit

Permalink
Fix packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
williamledda committed Apr 7, 2020
1 parent 5ec8e86 commit c81d721
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DHT_lcd1602.py → raspydht/DHT_lcd1602.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
import LCD1602
from . import LCD1602
import time
import datetime as dt
import threading
Expand Down
3 changes: 1 addition & 2 deletions DHT_read.py → raspydht/DHT_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
import argparse
import Adafruit_DHT
import paho.mqtt.client as mqtt

from DHT_lcd1602 import DHTLcd
from .DHT_lcd1602 import DHTLcd


# Parse command line parameters.
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion DHT_plot_rt.py → rtplot/DHT_plot_rt.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import matplotlib.animation as animation
import Adafruit_DHT
import datetime as dt
from DataSet import DataSet
from .DataSet import DataSet

fig = plt.figure()
tPlot = fig.add_subplot(2, 1, 1)
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions rtplot/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

12 changes: 11 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,21 @@

setup(
name='RasPyDHT',
version='0.1dev',
version='1.0-b2',
author='William Ledda',
author_email='[email protected]',
description='Temperature and humidity monitor with RaspberryPi',
long_description='Monitoring of temperature and humidity with a DHT connected to a RaspberryPi board',
url='https://github.com/williamledda/RasPyDHT',
packages=find_packages(),
install_requires=[
'Adafruit-DHT',
'paho-mqtt',
'smbus',
],
classifiers=[
'Programming Language :: Python :: 3',
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
],
)

0 comments on commit c81d721

Please sign in to comment.