mirror of
https://github.com/unode/firefox_decrypt.git
synced 2025-12-16 12:01:52 +01:00
Add pyproject.toml file for pipx installation (#92)
* Create pyproject.toml file with setuptools as build system * Update .gitignore to prevent uploading packaging directories Closes #91 --------- Co-authored-by: Renato Alves <alves.rjc@gmail.com>
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1 +1,5 @@
|
||||
tests/all.log
|
||||
__pycache__/
|
||||
build/
|
||||
dist/
|
||||
*.egg-info/
|
||||
|
||||
@@ -1111,7 +1111,7 @@ def main() -> None:
|
||||
moz.unload_profile()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
def run():
|
||||
try:
|
||||
main()
|
||||
except KeyboardInterrupt:
|
||||
@@ -1119,3 +1119,7 @@ if __name__ == "__main__":
|
||||
sys.exit(Exit.KEYBOARD_INTERRUPT)
|
||||
except Exit as e:
|
||||
sys.exit(e.exitcode)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
run()
|
||||
|
||||
15
pyproject.toml
Normal file
15
pyproject.toml
Normal file
@@ -0,0 +1,15 @@
|
||||
[project]
|
||||
name = "firefox-decrypt"
|
||||
version = "1.0.0"
|
||||
description = "Firefox Decrypt is a tool to extract passwords from Mozilla (Firefox™, Waterfox™, Thunderbird®, SeaMonkey®) profiles"
|
||||
authors = [{name = "Renato Alves"}]
|
||||
requires-python = ">=3.9"
|
||||
license = {text = "GPL-3.0-only"}
|
||||
readme = "README.md"
|
||||
|
||||
[project.scripts]
|
||||
firefox_decrypt = "firefox_decrypt:run"
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools", "setuptools-scm"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
Reference in New Issue
Block a user