[HOTFIX] Migrate from setup.py to poetry, tox QA (#2249)

* Migrate from setup.py to use poetry build and publish
* Tox QA
* Version is now configured only at pyproject.toml
* Added poetry build test
* Updated mobsf PyPI publishing workflow 
* Update local DBs
This commit is contained in:
Ajin Abraham
2023-08-27 21:08:29 -07:00
committed by GitHub
parent 6e329c0d3f
commit bb700fa071
16 changed files with 180310 additions and 47755 deletions
+2 -2
View File
@@ -58,8 +58,8 @@ where python >nul 2>&1 && (
echo [INSTALL] Installing Requirements
python -m pip install --no-cache-dir wheel poetry==1.6.1
python -m poetry lock
python -m poetry install --only main --no-interaction --no-ansi || python -m poetry install --only main --no-interaction --no-ansi || python -m poetry install --only main --no-interaction --no-ansi
python -m poetry install --only main --no-root --no-interaction --no-ansi || python -m poetry install --only main --no-root --no-interaction --no-ansi || python -m poetry install --only main --no-root --no-interaction --no-ansi
echo [INSTALL] Clean Up
call scripts/clean.bat y