Skip to content

Commit

Permalink
Package properly using PEP 621 and setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
KOLANICH committed Feb 28, 2023
1 parent 4122369 commit 8d2876b
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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]

0 comments on commit 8d2876b

Please sign in to comment.