-
Notifications
You must be signed in to change notification settings - Fork 542
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #270 from branchvincent/pyproject
- Loading branch information
Showing
12 changed files
with
95 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,7 @@ | |
*.pyc | ||
*.pyo | ||
venv/ | ||
*.pytest_cache/ | ||
*.pytest_cache/ | ||
*.egg-info | ||
build/ | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
FROM python:alpine3 | ||
FROM python:alpine | ||
WORKDIR /app | ||
COPY . /app | ||
RUN apk add --no-cache build-base libffi-dev libxml2-dev libxslt-dev | ||
RUN /usr/local/bin/python -m pip install --upgrade pip | ||
RUN /usr/local/bin/python --version | ||
RUN pip3 install --no-cache-dir -r requirements.txt | ||
RUN chmod +x *.py | ||
ENTRYPOINT ["/app/dnsrecon.py"] | ||
RUN pip3 install --no-cache-dir . | ||
ENTRYPOINT ["dnsrecon"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,39 @@ | ||
[project] | ||
name = "dnsrecon" | ||
description = "DNS Enumeration Script" | ||
readme = "README.md" | ||
authors = [{ name = "Carlos Perez", email = "[email protected]" }] | ||
requires-python = ">=3.9" | ||
urls.Homepage = "https://github.com/darkoperator/dnsrecon" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)", | ||
"Operating System :: OS Independent", | ||
] | ||
dynamic = ["dependencies", "optional-dependencies", "version"] | ||
|
||
[project.scripts] | ||
dnsrecon = "dnsrecon.__main__:main" | ||
|
||
[tool.setuptools.dynamic] | ||
version = { attr = "dnsrecon.cli.__version__" } | ||
dependencies = { file = "requirements.txt" } | ||
optional-dependencies.dev = { file = "requirements-dev.txt" } | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["dnsrecon*"] | ||
|
||
[tool.setuptools.package-data] | ||
"*" = ["*.txt"] | ||
|
||
[build-system] | ||
requires = ["setuptools>=68"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.pytest.ini_options] | ||
minversion = "8.0.0" | ||
addopts = "--no-header" | ||
|
@@ -54,4 +90,4 @@ indent-style = "space" | |
skip-magic-trailing-comma = false | ||
|
||
# Like Black, automatically detect the appropriate line ending. | ||
line-ending = "auto" | ||
line-ending = "auto" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
-r requirements.txt | ||
pytest==8.1.1 | ||
ruff==0.3.5 |