fix: project metadata and docker builds

This commit is contained in:
Zephyr Lykos
2024-02-09 15:40:10 +02:00
committed by Eli
parent 766972d9a6
commit 89123fd259
4 changed files with 69 additions and 11 deletions
+6
View File
@@ -0,0 +1,6 @@
/**
!/qiling/
!/poetry.lock
!/pyproject.toml
!/ql*
!/README.md
+41 -9
View File
@@ -2,19 +2,10 @@
.DS_Store
.vscode
.idea
*.pyc
*.cache
*.cache2
.*.swp
*.raw
.venv
# cache and misc
qiling.egg-info/
__pycache__/
*.py[cod]
build
dist
# test and logs
tests/mac_test_elf.sh
@@ -38,3 +29,44 @@ core
tests/output.txt
tests/testtest_*
### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
# Distribution / packaging
build/
develop-eggs/
dist/
eggs/
sdist/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# Environments
.env
.venv
venv/
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# pytype static type analyzer
.pytype/
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
poetry.toml
# ruff
.ruff_cache/
# LSP config files
pyrightconfig.json
+2 -2
View File
@@ -19,8 +19,8 @@ COPY pyproject.toml poetry.lock ./
RUN pip3 install --no-cache-dir poetry \
&& poetry install --no-root --no-directory
COPY qiling/ tests/ examples/ ./
RUN poetry install --no-dev && poetry build --format=wheel
COPY . .
RUN poetry install --only main && poetry build --format=wheel
FROM base
+20
View File
@@ -1,10 +1,30 @@
[tool.poetry]
urls = { homepage = "https://qiling.io" }
name = "qiling"
version = "1.4.7"
description = "Qiling is an advanced binary emulation framework that cross-platform-architecture"
authors = ["KaiJern Lau (xwings) <[email protected]>"]
license = "GPLv2"
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Disassemblers",
"Topic :: System :: Emulators",
"Topic :: System :: Operating System",
"Topic :: Security",
]
keywords = [
"qiling",
"QEMU",
"binary",
"emulator",
"malware analysis",
"UEFI",
"IoT",
]
[tool.poetry.dependencies]
python = "^3.8"