Skip to content

Commit 9b0357c

Browse files
committed
DearPyGUIの依存バージョンを更新。
1 parent c7927cc commit 9b0357c

File tree

5 files changed

+24
-36
lines changed

5 files changed

+24
-36
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@
1010
ノードは作成者(高橋)が必要になった順に追加しているため、<br>
1111
画像処理における基本的な処理を担うノードが不足していることがあります。<br>
1212

13-
# Requirement
14-
> **Warning**<br>
15-
> 2023/5/22時点:`dearpygui``1.9.1`にアップデートするとノード接続が出来ないため<br>`1.9.0`以下をインストールしてください ※原因調査中
1613
```
1714
opencv-python 4.5.5.64 or later
1815
onnxruntime-gpu 1.12.0 or later
19-
dearpygui 1.9.0 or later
16+
dearpygui 1.11.0 or later
2017
mediapipe 0.8.10 or later ※mediapipeノード実行に必要
2118
protobuf 3.20.0 or later ※mediapipeノード実行に必要
2219
filterpy 1.4.5 or later ※motpyノード実行に必要

README_EN.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,10 @@ It is used for processing verification and comparison.<br>
1010
Since the nodes are added in the order in which the author(Takahashi) needs them,<br>
1111
There may be a shortage of nodes responsible for basic processing in image processing.<br>
1212

13-
# Requirement
14-
15-
> **Warning**<br>
16-
> As of May 22, 2023: If you update `dearpygui` to `1.9.1`, you will not be able to connect to the node<br>Please install `1.9.0` or below *Under investigation
17-
1813
```
1914
opencv-python 4.5.5.64 or later
2015
onnxruntime-gpu 1.12.0 or later
21-
dearpygui 1.9.0 or later
16+
dearpygui 1.11.0 or later
2217
mediapipe 0.8.10 or later ※Required to run mediapipe node
2318
protobuf 3.20.0 or later ※Required to run mediapipe node
2419
filterpy 1.4.5 or later ※Required to run MOT(motpy) node

docker/nvidia-gpu/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ RUN pip install --upgrade pip
2121
RUN pip install --upgrade cython numpy==1.23.5
2222

2323
RUN pip install \
24-
opencv-contrib-python==4.5.5.64 \
25-
onnxruntime-gpu==1.12.0 \
26-
dearpygui==1.9.0 \
27-
mediapipe==0.8.10 \
28-
protobuf==3.20.0 \
29-
filterpy==1.4.5 \
24+
opencv-contrib-python>=4.5.5.64 \
25+
onnxruntime-gpu>=1.12.0 \
26+
dearpygui>=1.11.0 \
27+
mediapipe>=0.8.10 \
28+
protobuf>=3.20.0 \
29+
filterpy>=1.4.5 \
3030

3131
WORKDIR /workspace
3232
CMD ["python3", "main.py"]

requirements.txt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
opencv-contrib-python==4.5.5.64
2-
onnxruntime-gpu==1.12.0
3-
dearpygui==1.9.0
4-
mediapipe==0.8.10
5-
protobuf==3.20.0
6-
filterpy==1.4.5
7-
1+
opencv-contrib-python>=4.5.5.64
2+
onnxruntime-gpu>=1.12.0
3+
dearpygui>=1.11.0
4+
mediapipe>=0.8.10
5+
protobuf>=3.20.0
6+
filterpy>=1.4.5

setup.py

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,19 @@
88

99
package_keyword = "ipn_editor"
1010

11-
1211
def get_version():
1312
with open("__init__.py", "r") as f:
1413
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
1514
f.read(), re.MULTILINE).group(1)
1615
return version
1716

18-
1917
def package_files(directory):
2018
paths = []
2119
for (path, directories, filenames) in os.walk(directory):
2220
for filename in filenames:
2321
paths.append(os.path.join('..', path, filename))
2422
return paths
2523

26-
2724
extra_py_files = package_files("node") + package_files("node_editor")
2825

2926
readme_path = path.abspath(path.dirname(__file__))
@@ -33,7 +30,7 @@ def package_files(directory):
3330
setup(
3431
name="ipn-editor",
3532
packages=find_packages(),
36-
py_modules=[splitext(basename(path))[0] for path in glob("./*")],
33+
py_modules=[splitext(basename(path))[0] for path in glob("./*") if path.endswith('.py')],
3734
package_data={"node_editor": extra_py_files},
3835
include_package_data=True,
3936
version=get_version(),
@@ -45,24 +42,24 @@ def package_files(directory):
4542
long_description_content_type='text/markdown',
4643
keywords='opencv node-editor onnx onnxruntime dearpygui',
4744
license="Apache-2.0 license",
48-
python_requires=">=3.7",
45+
python_requires=">=3.7, <4",
4946
install_requires=[
50-
"numpy>=1.21.6", "Cython==0.29.30", "opencv-python==4.5.5.64",
51-
"onnxruntime-gpu==1.12.0", "dearpygui==1.6.2", "mediapipe==0.8.10",
52-
"protobuf==3.20.0", "filterpy==1.4.5", "lap==0.4.0",
53-
"cython-bbox==0.1.3", "rich==12.4.4"
47+
"numpy>=1.21.6", "Cython==0.29.36", "opencv-python>=4.5.5.64",
48+
"onnxruntime-gpu>=1.12.0", "dearpygui>=1.6.2", "mediapipe>=0.8.10",
49+
"protobuf>=3.20.0,<4", "filterpy>=1.4.5"
5450
],
5551
classifiers=[
5652
"License :: OSI Approved :: Apache Software License",
5753
"Programming Language :: Python :: 3.7",
5854
"Programming Language :: Python :: 3.8",
5955
"Programming Language :: Python :: 3.9",
56+
"Programming Language :: Python :: 3.10",
57+
"Programming Language :: Python :: 3.11",
58+
"Programming Language :: Python :: 3.12",
6059
],
6160
project_urls={
62-
"Source":
63-
"https://github.com/Kazuhito00/Image-Processing-Node-Editor",
64-
"Tracker":
65-
"https://github.com/Kazuhito00/Image-Processing-Node-Editor/issues",
61+
"Source": "https://github.com/Kazuhito00/Image-Processing-Node-Editor",
62+
"Tracker": "https://github.com/Kazuhito00/Image-Processing-Node-Editor/issues",
6663
},
6764
entry_points={
6865
"console_scripts": [

0 commit comments

Comments
 (0)