Skip to content

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGroundZero committed Jul 1, 2024
1 parent c72b2b1 commit 278b8dc
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- name: Build release distributions
run: |
python -m pip install build setuptools
python -m pip install --upgrade pip build setuptools
python -m build
- name: Upload distributions
Expand Down
58 changes: 58 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,61 @@
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "openvasreporting"
dependencies = [
"xlsxwriter>=1.0.0",
"python-docx>=0.8.7",
"matplotlib>=2.2.2",
"netaddr>=0.8.0"
]
requires-python = ">= 3.12"
authors = [
{name = "TheGroundZero", email = "[email protected]"}
]
maintainers = [
{name = "BEduardo Ferreira (@dudacgf)"}
]
description = "A tool to convert OpenVAS XML into reports."
readme = {file = "README.md", content-type = "text/markdown"}
license = {file = "LICENSE"}
keywords = ["OpenVAS", "OpenVAS-reports", "Excel", "xlsxwriter", "xlsx", "reporting", "reports", "report"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Framework :: Sphinx",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Information Technology",
"Intended Audience :: Other Audience",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python",
"Topic :: Documentation :: Sphinx",
"Topic :: Internet :: Log Analysis",
"Topic :: Security"
]
dynamic = ["version"]

[project.urls]
Repository = "https://github.com/TheGroundZero/openvasreporting"
Documentation = "https://openvas-reporting.sequr.be"
Issues = "https://github.com/TheGroundZero/openvasreporting/issues/"
Changelog = "https://github.com/TheGroundZero/openvasreporting/blob/main/CHANGELOG"

[project.scripts]
openvasreporting = "openvasreporting:main"

[tool.setuptools]
include-package-data = true

[tool.setuptools.package-data]
openvasreporting = ["src/openvas-template.docx"]

[tool.setuptools.packages.find]
include = ["openvasreporting", "openvasreporting.libs"]
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## you don't need this file to build the package. but for development reasons...
build>=0.7.0
cycler>=0.11.0
kiwisolver>=1.3.
kiwisolver>=1.3
defusedxml>=0.7.1
matplotlib>=3.4.3
netaddr>=0.8.0
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg → setup.cfg.bak
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[metadata]
name = OpenVAS Reporting
name = openvasreporting
version = 1.6.1
description = A tool to convert OpenVAS XML into reports.
long_description = file: README.md, LICENSE, CHANGELOG
Expand Down

0 comments on commit 278b8dc

Please sign in to comment.