mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 10:31:50 +01:00
add distutils check to CI job
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -43,6 +43,11 @@ jobs:
|
|||||||
|
|
||||||
pip install .[dev]
|
pip install .[dev]
|
||||||
|
|
||||||
|
- name: python setup.py check
|
||||||
|
run: |
|
||||||
|
# https://docs.python.org/3/distutils/apiref.html#module-distutils.command.check
|
||||||
|
python setup.py check --metadata --strict --verbose
|
||||||
|
|
||||||
- name: bandit
|
- name: bandit
|
||||||
run: |
|
run: |
|
||||||
set -eux
|
set -eux
|
||||||
|
|||||||
5
setup.py
5
setup.py
@@ -128,11 +128,12 @@ setuptools.setup(
|
|||||||
use_scm_version = {
|
use_scm_version = {
|
||||||
"write_to": "kleinanzeigen_bot/version.py",
|
"write_to": "kleinanzeigen_bot/version.py",
|
||||||
},
|
},
|
||||||
packages = setuptools.find_packages(""),
|
packages = setuptools.find_packages(),
|
||||||
package_data = {"kleinanzeigen_bot": ["*.yaml"]},
|
package_data = {"kleinanzeigen_bot": ["resources/*.yaml"]},
|
||||||
|
|
||||||
# https://docs.python.org/3/distutils/setupscript.html#additional-meta-data
|
# https://docs.python.org/3/distutils/setupscript.html#additional-meta-data
|
||||||
author = "The kleinanzeigen-bot authors",
|
author = "The kleinanzeigen-bot authors",
|
||||||
|
author_email = "n/a",
|
||||||
url = "https://github.com/kleinanzeigen-bot/kleinanzeigen-bot",
|
url = "https://github.com/kleinanzeigen-bot/kleinanzeigen-bot",
|
||||||
description = "Command line tool to publish ads on ebay-kleinanzeigen.de",
|
description = "Command line tool to publish ads on ebay-kleinanzeigen.de",
|
||||||
license = "GNU AGPL 3.0+",
|
license = "GNU AGPL 3.0+",
|
||||||
|
|||||||
Reference in New Issue
Block a user