Skip to content

Commit

Permalink
migrate to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Jun 18, 2023
1 parent 2b49030 commit 9e75b88
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 57 deletions.
5 changes: 1 addition & 4 deletions cfprefsmon/__main__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
from collections import namedtuple

import click
from pymobiledevice3.lockdown import create_using_usbmux
from pymobiledevice3.services.os_trace import OsTraceService

import click

FORMAT = 'CFPreference[{domain}][{user}][{key}] = {value} # Process: {procname}'

NO_VALUE_PREFIX = 'found no value '
Expand Down
45 changes: 45 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
[project]
name = "cfprefsmon"
version = "0.0.3"
description = "Search for interesting internal preferences inside a connected iDevice"
readme = "README.md"
requires-python = ">=3.7"
license = { file = "LICENSE" }
keywords = ["ios", "cli", "preferences", "cfprefsd", "monitor"]
authors = [
{ name = "doronz88", email = "[email protected]" }
]
maintainers = [
{ name = "doronz88", email = "[email protected]" }
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
]
dynamic = ["dependencies"]

[project.optional-dependencies]
test = ["pytest", "cmd2_ext_test"]

[project.urls]
"Homepage" = "https://github.com/doronz88/cfprefsmon"
"Bug Reports" = "https://github.com/doronz88/cfprefsmon/issues"

[project.scripts]
cfprefsmon = "cfprefsmon.__main__:cli"

[tool.setuptools.packages.find]
exclude = ["docs*", "tests*"]

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

[build-system]
requires = ["setuptools>=43.0.0", "wheel"]
build-backend = "setuptools.build_meta"
53 changes: 0 additions & 53 deletions setup.py

This file was deleted.

0 comments on commit 9e75b88

Please sign in to comment.