Skip to content

Commit

Permalink
fix: replace pipes for python 3.13 (#92)
Browse files Browse the repository at this point in the history
* fix: replace pipes for python 3.13

* build: migrate to pyproject.toml
  • Loading branch information
branchvincent authored Oct 21, 2024
1 parent 3202df9 commit 1abc5d6
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 42 deletions.
5 changes: 0 additions & 5 deletions MANIFEST.in

This file was deleted.

2 changes: 1 addition & 1 deletion apkleaks/apkleaks.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from contextlib import closing
from shutil import which
from pathlib import Path
from pipes import quote
from shlex import quote
from urllib.request import urlopen
from zipfile import ZipFile

Expand Down
34 changes: 34 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[project]
name = "apkleaks"
description = "Scanning APK file for URIs, endpoints & secrets."
readme = "README.md"
authors = [{ name = "dwisiswant0", email = "[email protected]" }]
classifiers = [
"Development Status :: 3 - Alpha",
"Natural Language :: English",
"Topic :: Security",
"Topic :: Utilities",
]
license = { text = "Apache License 2.0" }
requires-python = ">=3.8"
dynamic = ["dependencies", "version"]

[project.scripts]
apkleaks = "apkleaks.cli:main"

[project.urls]
Homepage = "https://github.com/dwisiswant0/apkleaks/"

[tool.setuptools.dynamic]
version = { file = "VERSION" }
dependencies = { file = "requirements.txt" }

[tool.setuptools.package-data]
"*" = ["*.json"]

[tool.setuptools.packages.find]
include = ["apkleaks*", "config*"]

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
36 changes: 0 additions & 36 deletions setup.py

This file was deleted.

0 comments on commit 1abc5d6

Please sign in to comment.