-
Notifications
You must be signed in to change notification settings - Fork 32
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 #3788 from wazuh/3760-setuptools-dep
Upgrade setuptools dependency
- Loading branch information
Showing
4 changed files
with
62 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Wazuh QA Framework Validator | ||
on: | ||
pull_request: | ||
paths: | ||
- requirements.txt | ||
- deps/wazuh_testing/setup.py | ||
jobs: | ||
validate-framework-linux: | ||
runs-on: ubuntu-20.04 | ||
continue-on-error: true | ||
strategy: | ||
matrix: | ||
python-version: | ||
- 3.10.9 | ||
- 3.7.1 | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: pip install -r requirements.txt | ||
|
||
- name: Install package | ||
run: | | ||
cd deps/wazuh_testing | ||
pip install . | ||
validate-framework-windows: | ||
runs-on: windows-2019 | ||
continue-on-error: true | ||
strategy: | ||
matrix: | ||
python-version: | ||
- 3.11.4 | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: pip install -r requirements.txt | ||
|
||
- name: Install package | ||
run: | | ||
cd deps/wazuh_testing | ||
pip install . |
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 |
---|---|---|
|
@@ -2,8 +2,8 @@ | |
# Created by Wazuh, Inc. <[email protected]>. | ||
# This program is free software; you can redistribute it and/or modify it under the terms of GPLv2 | ||
import json | ||
from setuptools import setup, find_packages | ||
import os | ||
from setuptools import setup, find_namespace_packages | ||
|
||
package_data_list = [ | ||
'data/agent.conf', | ||
|
@@ -77,7 +77,7 @@ def get_version(): | |
author='Wazuh', | ||
author_email='[email protected]', | ||
license='GPLv2', | ||
packages=find_packages(), | ||
packages=find_namespace_packages(), | ||
package_data={'wazuh_testing': package_data_list}, | ||
entry_points={'console_scripts': scripts_list}, | ||
include_package_data=True, | ||
|
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