-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add configuration to publish library to PyPI
- Loading branch information
Showing
4 changed files
with
119 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
.*.swp | ||
.coverage | ||
__pycache__/ | ||
|
||
# Library file to store version number | ||
/build_version.py | ||
# Library dist directory | ||
/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "qolsys" | ||
description = "Qolsys IQ Panel 2+ gateway API" | ||
dynamic = ["version"] | ||
dependencies = [] | ||
requires-python = ">=3.8" | ||
authors = [ | ||
{name = "Raphaël Beamonte", email = "[email protected]"}, | ||
] | ||
readme = "README.md" | ||
license = {file = "LICENSE"} | ||
keywords = ["qolsys", "iq panel", "gateway", "api"] | ||
classifiers = [ | ||
# How mature is this project? Common values are | ||
# 3 - Alpha | ||
# 4 - Beta | ||
# 5 - Production/Stable | ||
"Development Status :: 4 - Beta", | ||
|
||
# Indicate who your project is intended for | ||
"Intended Audience :: Developers", | ||
|
||
# Pick your license as you wish (see also "license" above) | ||
"License :: OSI Approved :: MIT License", | ||
|
||
# Specify the Python versions you support here. | ||
"Programming Language :: Python :: 3", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/xaf/qolsysgw" | ||
Documentation = "https://github.com/xaf/qolsysgw" | ||
Repository = "https://github.com/xaf/qolsysgw.git" | ||
Issues = "https://github.com/xaf/qolsysgw/issues" | ||
Changelog = "https://github.com/xaf/qolsysgw/commits/main/" | ||
|
||
[tool.hatch.version] | ||
path = "build_version.py" | ||
|
||
[tool.hatch.build] | ||
skip-excluded-dirs = true | ||
|
||
[tool.hatch.build.targets.sdist] | ||
packages = ["apps/qolsysgw/qolsys"] | ||
only-include = ["apps/qolsysgw/qolsys"] | ||
sources = ["apps/qolsysgw"] | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = ["apps/qolsysgw/qolsys"] | ||
only-include = ["apps/qolsysgw/qolsys"] | ||
sources = ["apps/qolsysgw"] |