-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chg: The project is now using Trusted Publishing with Pypi. Updated d…
…ependencies.
- Loading branch information
1 parent
4cbafc8
commit 121982c
Showing
10 changed files
with
629 additions
and
55 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
name: release | ||
|
||
jobs: | ||
pypi-publish: | ||
name: Upload release to PyPI | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: pypi | ||
url: https://pypi.org/p/pyAndroZoo | ||
|
||
permissions: | ||
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install Poetry | ||
run: python -m pip install --upgrade pip poetry | ||
- name: Build artifacts | ||
run: poetry build | ||
- name: Publish package distributions to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
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 was deleted.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,63 @@ | ||
[build-system] | ||
requires = ["poetry-core>=2.0.0,<3.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
|
||
[project] | ||
name = "pyAndroZoo" | ||
version = "0.3.1" | ||
description = "A Python library to access the AndroZoo data set." | ||
authors = [ | ||
{name = "Cédric Bonhomme",email = "[email protected]"} | ||
] | ||
license = "GPL-3.0-or-later" | ||
readme = "README.rst" | ||
keywords = ["android", "androzoo", "malware"] | ||
|
||
requires-python = ">=3.10,<4.0" | ||
dependencies = [ | ||
"grequests (>=0.7.0)" | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/ICC-analysis/pyAndroZoo" | ||
Repository = "https://github.com/ICC-analysis/pyAndroZoo" | ||
Changelog = "https://github.com/ICC-analysis/pyAndroZoo/blob/master/CHANGELOG.rst" | ||
|
||
|
||
[tool.poetry] | ||
requires-poetry = ">=2.0" | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"Topic :: Security", | ||
"Operating System :: POSIX :: Linux", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)" | ||
] | ||
|
||
|
||
[tool.mypy] | ||
python_version = "3.13" | ||
check_untyped_defs = true | ||
ignore_errors = false | ||
ignore_missing_imports = true | ||
strict_optional = true | ||
no_implicit_optional = true | ||
warn_unused_ignores = true | ||
warn_redundant_casts = true | ||
warn_unused_configs = true | ||
warn_unreachable = true | ||
|
||
show_error_context = true | ||
pretty = true | ||
|
||
exclude = "build|dist|docs" | ||
|
||
[tool.isort] | ||
profile = "black" |
This file was deleted.
Oops, something went wrong.