Skip to content

Commit

Permalink
Update setup files (#52)
Browse files Browse the repository at this point in the history
* Add long_description_content_type to setup.py to avoid warning

* Merge setup.cfg to setup.py as it contains only one option
  • Loading branch information
jobselko committed Jan 25, 2024
1 parent 807eaf8 commit c5dd7e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.

3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
version=version,
description="CVSS2/3/4 library with interactive calculator for Python 2 and Python 3",
long_description=long_description,
long_description_content_type="text/x-rst",
url="https://github.com/RedHatProductSecurity/cvss",
project_urls={
"Releases": "https://github.com/RedHatProductSecurity/cvss/releases",
Expand Down Expand Up @@ -63,4 +64,6 @@
"cvss_calculator = cvss.cvss_calculator:main",
],
},
# to make Python 2 and Python 3 compatible wheel
options={"bdist_wheel": {"universal": "1"}},
)

0 comments on commit c5dd7e2

Please sign in to comment.