-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from mbugert/dev
Integrate changes prior to v0.2.7
- Loading branch information
Showing
7 changed files
with
67 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Contributors | ||
|
||
- Michael Bugert (mbugert) - Owner | ||
- IndeedNotJames - Docker integration | ||
- Dobrosław Kijowski (dobo90) - Bug fix | ||
|
||
## Thanks to | ||
- Ties de Kock (ties) - for the ` | ||
compal_CH7465LG_py` library |
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,28 @@ | ||
# Release Checklist | ||
- [ ] Testing | ||
- [ ] Update version and info in `setup.py` | ||
- [ ] Build | ||
``` | ||
python -m build | ||
``` | ||
- [ ] Test pypi release | ||
``` | ||
python -m twine upload --repository testpypi dist/* | ||
``` | ||
- [ ] Try installing that | ||
``` | ||
python3 -m venv tmpvenv | ||
source tmpvenv/bin/activate | ||
pip install -i https://test.pypi.org/simple/ --no-deps PACKAGE_NAME | ||
deactivate | ||
rm -rf tmpvenv | ||
``` | ||
- [ ] Commit, merge into `master` with PR | ||
- [ ] Proper pypi release | ||
``` | ||
python -m twine upload dist/* | ||
``` | ||
- [ ] Release on github with appropriate tag | ||
## Wishlist | ||
Automate this with https://github.com/pypa/gh-action-pypi-publish |
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
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,2 +1,4 @@ | ||
-r production.txt | ||
black==19.10b0 | ||
black==20.8b1 | ||
build==0.3.1.post1 | ||
twine==3.3.0 |
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,6 +1,6 @@ | ||
click==7.1.1 | ||
compal==0.1.1 | ||
deepmerge==0.1.0 | ||
click==7.1.2 | ||
compal==0.3.1 | ||
deepmerge==0.2.1 | ||
lxml>=4.5.0 | ||
prometheus-client==0.7.1 | ||
ruamel.yaml==0.16.10 | ||
prometheus-client==0.9.0 | ||
ruamel.yaml==0.16.13 |
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 |
---|---|---|
|
@@ -8,14 +8,13 @@ | |
RESOURCES_ROOT = Path(__file__).parent / "resources" | ||
REQUIREMENTS_ROOT = RESOURCES_ROOT / "requirements" | ||
PRODUCTION_REQUIREMENTS = REQUIREMENTS_ROOT / "production.txt" | ||
print(PRODUCTION_REQUIREMENTS) | ||
|
||
with PRODUCTION_REQUIREMENTS.open() as f: | ||
install_requires = [s.strip() for s in f.readlines()] | ||
|
||
setup( | ||
name="connectbox-prometheus", | ||
version="0.2.6", | ||
version="0.2.7", | ||
author="Michael Bugert", | ||
author_email="[email protected]", | ||
description='Prometheus exporter for Compal CH7465LG cable modems, commonly sold as "Connect Box"', | ||
|
@@ -37,6 +36,7 @@ | |
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Topic :: System :: Networking :: Monitoring", | ||
], | ||
) |