summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Berto <roberto.berto@under.com.br>2024-08-27 15:37:43 -0300
committerRoberto Berto <roberto.berto@under.com.br>2024-08-27 15:37:43 -0300
commit35dc744939c802eb634abe3aae2de05c055d2f91 (patch)
tree50affc0140b69b2cc1abc0876c01656bdccdc293
parent35bf4762ed9e16ddf45d13db059e3f72c0646f90 (diff)
downloadpyvyos-35dc744939c802eb634abe3aae2de05c055d2f91.tar.gz
pyvyos-35dc744939c802eb634abe3aae2de05c055d2f91.zip
makefile now works to maintainer build/upload do pypyv0.2.2
fixed vulnerabilities: - Bump certifi from 2024.2.2 to 2024.7.4 - Bump idna from 3.6 to 3.7 - Bump urllib3 from 2.2.1 to 2.2.2
-rw-r--r--Makefile13
-rw-r--r--pyproject.toml20
-rw-r--r--requirements.txt2
3 files changed, 17 insertions, 18 deletions
diff --git a/Makefile b/Makefile
index 04ed05a..42b53e9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,14 @@
-.PHONE: help
+.PHONY: help
help:
@echo "build - build the package"
@echo "upload - upload the package to PyPI"
.PHONY: build
build:
- source env/bin/activate
- python -m build --sdist
- python -m build --wheel
+ env/bin/python -m build --sdist
+ env/bin/python -m build --wheel
+.PHONY: upload
upload:
- source env/bin/activate
- twine check dist/*
- twine upload dist/*
+ env/bin/python -m twine check dist/*
+ env/bin/python -m twine upload dist/*
diff --git a/pyproject.toml b/pyproject.toml
index e90621b..6eee47d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "pyvyos"
-version = "0.2.1"
+version = "0.2.2"
authors = [
{ name="Roberto Berto", email="463349+robertoberto@users.noreply.github.com" },
]
@@ -18,26 +18,26 @@ classifiers = [
]
[project.urls]
-Homepage = "https://github.com/robertoberto/pyvyos"
-Issues = "https://github.com/robertoberto/pyvyos/issues"
+Homepage = "https://github.com/vyos-contrib/pyvyos"
+Issues = "https://github.com/vyos-contrib/pyvyos/issues"
[tool.hatch.metadata]
dependencies = [
- "requests>=2.31.0,<3.0",
- "python-dotenv>=1.0.1,<2.0"
+ "requests>=2.31.0,<3.0",
+ "python-dotenv>=1.0.1,<2.0"
]
dev-dependencies = [
- "pytest>=6.2.2,<7.0"
+ "pytest>=6.2.2,<7.0"
]
[tool.poetry]
name = "pyvyos"
description = "Python SDK for interacting with VyOS API"
authors = ["Roberto Berto <463349+robertoberto@users.noreply.github.com>"]
-version = "0.2.1"
+version = "0.2.2"
[tool.poetry.dependencies]
-python = ">=3.8"
-requests = "^2.31.0"
-python-dotenv = "^1.0.1"
+python = ">=3.8"
+requests = "^2.31.0"
+python-dotenv = "^1.0.1"
diff --git a/requirements.txt b/requirements.txt
index 56dc8de..411e18c 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,3 @@
requests>=2.25.1,<3.0
python-dotenv>=1.0.1,<2.0
-poetry>=1.1.0,<2.0 \ No newline at end of file
+poetry>=1.1.0,<2.0