Skip to content

Commit

Permalink
Fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermef committed Jan 28, 2021
1 parent bb700ab commit 6e2c051
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
prune dist
prune build
prune .env
recursive-include pi_weatherstation *.py
recursive-include pi_weatherstation *.css
recursive-include pi_weatherstation *.svg
Expand Down
2 changes: 1 addition & 1 deletion pi_weatherstation/metrics/prometheus.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def push_weather_data(self):
logging.debug("Weather data unavailable")
return
labels = {
"pi_weatherstation_verions": pi_weatherstation.VERSION,
"pi_weatherstation_version": pi_weatherstation.VERSION,
"location": config.get("metrics_location_label"),
}
TEMPERATURE.set(labels, weather.get("temperature"))
Expand Down
14 changes: 13 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
with open(path.join(this_directory, "README.md"), encoding='utf-8') as f:
long_description = f.read()


Expand Down Expand Up @@ -41,6 +41,18 @@
]
},
zip_safe=False,
classifiers=[
"Development Status :: 4 - Beta"
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Framework :: AsyncIO",
"Operating System :: POSIX :: Linux",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
],
entry_points={
"console_scripts": ["pi_weatherstation=pi_weatherstation.cli:main"],
},
Expand Down

0 comments on commit 6e2c051

Please sign in to comment.