Skip to content

Commit

Permalink
Code restructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
Galorhallen committed Feb 1, 2023
1 parent eed1670 commit 9e24d49
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ jobs:
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_TEST_API_TOKEN }}
password: ${{ secrets.PYPI_API_TOKEN }}
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "govee-local-api"
version = "0.1.0"
version = "1.0.0"
authors = [
{ name="Galorhallen", email="andrea.ponte1987@gmail.com" },
]
description = "Library to comunicate with Govee local API"
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
Expand Down
16 changes: 16 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[metadata]
name = "govee-local-api"
version = attr: govee_local_api.__version__
author = "Galorhallen"
author_email = "andrea.ponte1987@gmail.com"
url =
description = "Library to communicate with Govee devices via local API"
long_description = file: README.md
long_description_content_type = text/markdown
readme = "README.md"
requires-python = ">=3.9"
classifiers =
"Development Status :: 5 - Production/Stable"
"Programming Language :: Python :: 3"
"License :: OSI Approved :: MIT License"
"Operating System :: OS Independent"
Empty file removed setup.py
Empty file.
2 changes: 2 additions & 0 deletions src/govee_local_api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from .message import *
from .controller import GoveeController
from .device import GoveeDevice

__version__ = "1.0.0"

0 comments on commit 9e24d49

Please sign in to comment.