Skip to content

Commit

Permalink
Merge pull request #185 from alandtse/poetry_build
Browse files Browse the repository at this point in the history
docs: update docs
  • Loading branch information
alandtse committed Apr 2, 2021
2 parents ceb3260 + e9b149a commit c5863a8
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions DEVELOPERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ If you're looking to add functionality to Home Assistant you will need to do the
- https://www.teslaapi.io/
- https://tesla-api.timdorr.com/
2. Build a proper abstraction inheriting from the [vehicle.py](teslajsonpy/vehicle.py). Check out [lock.py](teslajsonpy/lock.py).
3. Add abstraction to the controller [_add_components](https://github.com/zabuldon/teslajsonpy/blob/dev/teslajsonpy/controller.py#L530) so it will be discoverable.
3. Add changes to Home Assistant to access your abstraction and submit a PR per HA guidelines.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ Also thanks to [Tim Dorr](https://tesla-api.timdorr.com/) for documenting the AP
11. Add yourself to `AUTHORS.md`.
12. Submit a [pull request](https://github.com/zabuldon/teslajsonpy/pulls)!

# Documentation
[API docs](https://teslajsonpy.readthedocs.io/en/latest/).

# License

[Apache-2.0](LICENSE). By providing a contribution, you agree the contribution is licensed under Apache-2.0.
Expand Down
23 changes: 23 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,25 @@ description = "A library to work with Tesla API."
authors = ["Sergey Isachenko <sergey.isachenkol@bool.by>"]
license = "Apache-2.0"
repository = "https://github.com/zabuldon/teslajsonpy"
readme = "README.md"
homepage = "https://github.com/zabuldon/teslajsonpy"
documentation = "https://teslajsonpy.readthedocs.io"
classifiers = [
"Development Status :: 3 - Alpha",
"Natural Language :: English",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Environment :: Console",
"Topic :: Software Development :: Libraries :: Python Modules"
]
include = [
"README.md",
"LICENSE",
"CHANGELOG.md"
]

[tool.poetry.dependencies]
python = "^3.6.1"
Expand Down Expand Up @@ -35,3 +54,7 @@ pylint = "^2.7.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[metadata]
description-file = "README.md"

0 comments on commit c5863a8

Please sign in to comment.