diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b8d2983 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,44 @@ +[build-system] +build-backend = "setuptools.build_meta" +requires = ["setuptools>=61.2.0", "setuptools_scm[toml]>=3.4.3"] + +[project] +name = "Opener" +description = "A JavaScript deobfuscator " +readme = "README.md" +keywords = ["JavaScript", "ECMAScript", "deobfuscation"] +license = {text = "AGPL-3.0-or-later"} +authors = [{name = "taylor.fish"}] +requires-python = ">=3.4" +dependencies = [ + "esprima", # @ git+https://github.com/Kronuz/esprima-python + #"jscodegen", # @ git+https://github.com/ksons/jscodegen.py + "escodegen", # @ git+https://github.com/0o120/escodegen-python +] +dynamic = [ + "version", +] +classifiers = [ + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Development Status :: 4 - Beta", + "Environment :: Other Environment", + "Intended Audience :: Developers", + "License :: OSI Approved", + "Operating System :: OS Independent", + "Topic :: Software Development :: Libraries :: Python Modules", +] +[project.urls] +Homepage = "https://github.com/taylordotfish/opener" + +[project.scripts] +opener = "opener.__main__:main" + +[tool.setuptools] +zip-safe = true +include-package-data = false + +[tool.setuptools.packages] +find = {namespaces = false} + +[tool.setuptools_scm]