[Python API] Move old python bindings (#9134)
* [Python API] Remove offline transformations from old python api * [Python API] Move wheel folder to the python dir * codestyle files * [Python API] Move old python bindings * move api * one more codestyle * fix install stage * remove unexisting file from gitignore * flake8 style * try to fix jenkins * undo comments * return variable * remove cpack * fix after merge * try to fix version * fix test * remove debug info * version of python * try to fix pyversion * update tests Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
This commit is contained in:
committed by
GitHub
parent
40b4356537
commit
a8b59458d1
6
.github/workflows/code_style.yml
vendored
6
.github/workflows/code_style.yml
vendored
@@ -19,9 +19,9 @@ jobs:
|
||||
sudo apt update
|
||||
sudo apt --assume-yes install libusb-1.0-0-dev
|
||||
python3 -m pip install --upgrade pip
|
||||
python3 -m pip install -r ./inference-engine/ie_bridges/python/requirements.txt
|
||||
python3 -m pip install -r ./src/bindings/python/src/compatibility/openvino/requirements.txt
|
||||
# Add for -DENABLE_PYTHON=ON, no cython
|
||||
python3 -m pip install -r ./inference-engine/ie_bridges/python/src/requirements-dev.txt
|
||||
python3 -m pip install -r ./src/bindings/python/src/compatibility/openvino/requirements-dev.txt
|
||||
|
||||
# Run cmake with -DENABLE_PROFILING_ITT=ON -DSELECTIVE_BUILD=COLLECT in order to enable codestyle check for ITT collector
|
||||
- name: CMake
|
||||
@@ -60,7 +60,7 @@ jobs:
|
||||
sudo apt --assume-yes install shellcheck
|
||||
|
||||
- name: Install dependencies
|
||||
run: python3 -m pip install -r ./inference-engine/ie_bridges/python/requirements.txt
|
||||
run: python3 -m pip install -r ./src/bindings/python/src/compatibility/openvino/requirements.txt
|
||||
|
||||
- name: CMake
|
||||
run: |
|
||||
|
||||
16
.github/workflows/py_checks.yml
vendored
16
.github/workflows/py_checks.yml
vendored
@@ -4,11 +4,11 @@ on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
paths:
|
||||
- 'inference-engine/ie_bridges/python/**'
|
||||
- 'src/bindings/python/**'
|
||||
- 'samples/python/**'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'inference-engine/ie_bridges/python/**'
|
||||
- 'src/bindings/python/**'
|
||||
- 'samples/python/**'
|
||||
jobs:
|
||||
linters:
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
with:
|
||||
python-version: '3.6'
|
||||
- name: Install dependencies
|
||||
run: python -m pip install -r inference-engine/ie_bridges/python/requirements_dev.txt
|
||||
run: python -m pip install -r src/bindings/python/src/compatibility/openvino/requirements_dev.txt
|
||||
- name: Run Flake on samples
|
||||
run: python -m flake8 ./ --config=setup.cfg
|
||||
working-directory: samples/python
|
||||
@@ -39,14 +39,14 @@ jobs:
|
||||
name: samples_diff
|
||||
path: samples_diff.diff
|
||||
- name: Run Flake on src
|
||||
run: python -m flake8 ./ --config=../setup.cfg
|
||||
working-directory: inference-engine/ie_bridges/python/src
|
||||
run: python -m flake8 ./ --config=setup.cfg
|
||||
working-directory: src/bindings/python/src/compatibility/openvino
|
||||
- name: Create code style diff for Python src
|
||||
if: failure()
|
||||
run: |
|
||||
python -m black -l 160 -S ./
|
||||
git diff > src_diff.diff
|
||||
working-directory: inference-engine/ie_bridges/python/src
|
||||
working-directory: src/bindings/python/src/compatibility/openvino
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: failure()
|
||||
with:
|
||||
@@ -69,9 +69,9 @@ jobs:
|
||||
|
||||
- name: Run MyPy
|
||||
run: python -m mypy ./ --config-file ./setup.cfg
|
||||
working-directory: inference-engine/ie_bridges/python
|
||||
working-directory: src/bindings/python/src/compatibility/openvino
|
||||
- name: Run Bandit
|
||||
run: python -m bandit -r ./ -f screen
|
||||
working-directory: inference-engine/ie_bridges/python
|
||||
working-directory: src/bindings/python/src/compatibility/openvino
|
||||
|
||||
|
||||
Reference in New Issue
Block a user