Skip to content

Commit 1abc5d6

Browse files
authored
fix: replace pipes for python 3.13 (#92)
* fix: replace pipes for python 3.13 * build: migrate to pyproject.toml
1 parent 3202df9 commit 1abc5d6

File tree

4 files changed

+35
-42
lines changed

4 files changed

+35
-42
lines changed

MANIFEST.in

Lines changed: 0 additions & 5 deletions
This file was deleted.

apkleaks/apkleaks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from contextlib import closing
1313
from shutil import which
1414
from pathlib import Path
15-
from pipes import quote
15+
from shlex import quote
1616
from urllib.request import urlopen
1717
from zipfile import ZipFile
1818

pyproject.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[project]
2+
name = "apkleaks"
3+
description = "Scanning APK file for URIs, endpoints & secrets."
4+
readme = "README.md"
5+
authors = [{ name = "dwisiswant0", email = "[email protected]" }]
6+
classifiers = [
7+
"Development Status :: 3 - Alpha",
8+
"Natural Language :: English",
9+
"Topic :: Security",
10+
"Topic :: Utilities",
11+
]
12+
license = { text = "Apache License 2.0" }
13+
requires-python = ">=3.8"
14+
dynamic = ["dependencies", "version"]
15+
16+
[project.scripts]
17+
apkleaks = "apkleaks.cli:main"
18+
19+
[project.urls]
20+
Homepage = "https://github.com/dwisiswant0/apkleaks/"
21+
22+
[tool.setuptools.dynamic]
23+
version = { file = "VERSION" }
24+
dependencies = { file = "requirements.txt" }
25+
26+
[tool.setuptools.package-data]
27+
"*" = ["*.json"]
28+
29+
[tool.setuptools.packages.find]
30+
include = ["apkleaks*", "config*"]
31+
32+
[build-system]
33+
requires = ["setuptools>=68"]
34+
build-backend = "setuptools.build_meta"

setup.py

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)