Skip to content

Commit

Permalink
fix(Python): Change package name
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-w committed Apr 27, 2022
1 parent e0cd98f commit bd0a3c0
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 30 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
stages: [manual]
- id: check-json
- id: trailing-whitespace
files: ^((xknx-custom-panel)/.+)?[^/]+\.py$
files: ^((xknx_custom_panel)/.+)?[^/]+\.py$
- repo: https://github.com/cdce8p/python-typing-update
rev: v0.3.5
hooks:
Expand All @@ -32,7 +32,7 @@ repos:
- --py39-plus
- --force
- --keep-updates
files: ^(xknx-custom-panel)/.+\.py$
files: ^(xknx_custom_panel)/.+\.py$
# Frontend
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.6.2
Expand Down
26 changes: 0 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,6 @@ knx_panel:
![Bus Monitor](./screenshots/bus_monitor.png?raw=true)
## Installation
### Manual
- Place the custom_components folder in your configuration directory (or add its contents to an existing custom_components folder). It should look similar to this:
```
<config directory>/
|-- custom_components/
| |-- knx_panel/
| |-- __init__.py
| |-- knx_ui.js
| |-- ...
```

- Edit your configuration.yaml file according to the example above


### HACS (Not yet supported!)

If you want HACS to handle installation and updates, add _KNX Panel_ as a custom repository.

NOTE: This is currently not yet supported!



## Development
Please install the pre-commit hook by using:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
packages=find_packages(include=["xknx-custom-panel", "xknx-custom-panel.*"]),
package_data={"xknx-custom-panel": ["knx-ui.js"]},
packages=find_packages(include=["xknx_custom_panel", "xknx_custom_panel.*"]),
package_data={"xknx_custom_panel": ["knx-ui.js"]},
include_package_data=True,
keywords="knx panel xknx custom-panel home-assistant",
zip_safe=False,
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit bd0a3c0

Please sign in to comment.