-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
84 additions
and
21 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
pip install build | ||
cd libonvif | ||
python -m build | ||
cd ../libavio | ||
python -m build | ||
cd ../onvif-gui | ||
python -m build | ||
cd .. | ||
for FILE in libonvif/dist/*.whl; do pip install $FILE; done | ||
for FILE in libavio/dist/*.whl; do pip install $FILE; done | ||
for FILE in onvif-gui/dist/*.whl; do pip install $FILE; done |
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,17 @@ | ||
pip install build | ||
cd libonvif | ||
set CMAKE_CURRENT_SOURCE_DIR=%CD% | ||
python -m build | ||
cd .. | ||
cd libavio | ||
set CMAKE_CURRENT_SOURCE_DIR=%CD% | ||
set FFMPEG_INSTALL_DIR=%CD%/ffmpeg | ||
set SDL2_INSTALL_DIR=%CD%/sdl | ||
python -m build | ||
cd .. | ||
cd onvif-gui | ||
python -m build | ||
cd .. | ||
for /R libonvif\dist %%F in (*.whl) do pip install %%F | ||
for /R libavio\dist %%F in (*.whl) do pip install %%F | ||
for /R onvif-gui\dist %%F in (*.whl) do pip install %%F |
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,9 +1,14 @@ | ||
#!/bin/bash | ||
cd libonvif | ||
rm -R build | ||
rm -R libonvif.egg-info | ||
rm -R dist | ||
cd ../libavio | ||
rm -R build | ||
rm -R avio.egg-info | ||
rm -R dist | ||
cd ../onvif-gui | ||
rm -R build | ||
rm -R onvif_gui.egg-info | ||
rm -R dist | ||
cd .. |
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,13 @@ | ||
cd libonvif | ||
rmdir /q /s build | ||
rmdir /q /s libonvif.egg-info | ||
rmdir /q /s dist | ||
cd ../libavio | ||
rmdir /q /s build | ||
rmdir /q /s avio.egg-info | ||
rmdir /q /s dist | ||
cd ../onvif-gui | ||
rmdir /q /s build | ||
rmdir /q /s onvif_gui.egg-info | ||
rmdir /q /s dist | ||
cd .. |
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 |
---|---|---|
|
@@ -10,3 +10,4 @@ cd ../onvif-gui | |
rmdir /s /q build | ||
rmdir /s /q onvif_gui.egg-info | ||
pip install . | ||
cd .. |
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,2 @@ | ||
python -m venv myenv | ||
myenv\Scripts\activate |
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "libonvif" | ||
version = "3.1.0" | ||
version = "3.1.1" | ||
authors = [ | ||
{ name="Stephen Rhodes", email="[email protected]" }, | ||
] | ||
|
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,2 @@ | ||
include README.md LICENSE | ||
recursive-include gui/resources * | ||
|
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 |
---|---|---|
|
@@ -19,15 +19,15 @@ | |
|
||
[project] | ||
name = "onvif-gui" | ||
version = "2.0.5" | ||
version = "2.0.9" | ||
dynamic = ["gui-scripts"] | ||
description = "A client gui for Onvif" | ||
readme = "README.md" | ||
description = "A client gui for Onvif" | ||
readme = "README.md" | ||
requires-python = ">=3.10" | ||
license = {file = "LICENSE.txt"} | ||
keywords = ["sample", "setuptools", "development"] | ||
keywords = ["sample", "setuptools", "development"] | ||
authors = [ | ||
{name = "Stephen Rhodes", email = "[email protected]" } | ||
{name = "Stephen Rhodes", email = "[email protected]" } | ||
] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
|
@@ -38,7 +38,7 @@ classifiers = [ | |
] | ||
|
||
dependencies = [ | ||
"libonvif==3.1.0", "avio==3.1.1", "PyQt6-Qt6==6.6.1", "pyqt6==6.6.1", "numpy", "loguru", "opencv-python" | ||
"libonvif==3.1.1", "avio==3.1.2", "PyQt6-Qt6==6.6.1", "pyqt6==6.6.1", "numpy", "loguru", "opencv-python" | ||
] | ||
|
||
[project.urls] | ||
|
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
|
||
setup( | ||
name="onvif-gui", | ||
version="2.0.5", | ||
version="2.0.9", | ||
author="Stephen Rhodes", | ||
author_email="[email protected]", | ||
description="GUI program for onvif", | ||
|