-
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 #5071 from wazuh/merge-4.9.0-into-master
Merge 4.9.0 into master
- Loading branch information
Showing
43 changed files
with
2,806 additions
and
267 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
pytest>=7.4.2,<8.0.0 | ||
chardet==5.2.0 | ||
chardet==5.2.0 | ||
pytest-tinybird==0.2.0 |
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,10 @@ | ||
ansible_runner==2.3.4 | ||
boto3==1.29.1 | ||
pydantic==2.5.2 | ||
ansible | ||
ruamel.yaml==0.18.5 | ||
ruamel.yaml.clib==0.2.8 | ||
graphlib==0.9.5 | ||
jsonschema==3.2.0 | ||
PyYAML==6.0.1 | ||
colorlog==6.8.0 |
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,47 @@ | ||
|
||
# Copyright (C) 2015, Wazuh Inc. | ||
# 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 pathlib import Path | ||
|
||
def get_files_from_directory(directory): | ||
paths = [] | ||
base_path = Path(__file__) | ||
for (path, directories, filenames) in os.walk(directory): | ||
for filename in filenames: | ||
if filename.endswith(('.yaml', '.json', '.md', '.py')): | ||
paths.append(os.path.join(base_path, path, filename)) | ||
return paths | ||
|
||
def get_version(): | ||
abs_path = Path(__file__).parent.parent / "version.json" | ||
|
||
if not os.path.exists(abs_path): | ||
raise FileNotFoundError(f'File "{abs_path}" not found.') | ||
|
||
with open(abs_path, 'r') as abs_file: | ||
data = json.load(abs_file) | ||
version = data['version'] | ||
return version or None | ||
|
||
package_data_list = get_files_from_directory("workflow_engine") | ||
scripts_list = ['engine=workflow_engine.__main__:main'] | ||
|
||
setup( | ||
name='workflow_engine', | ||
version=get_version(), | ||
description='Wazuh testing utilities to help programmers automate deployment tests', | ||
url='https://github.com/wazuh', | ||
author='Wazuh', | ||
author_email='[email protected]', | ||
license='GPLv2', | ||
packages=['workflow_engine'], | ||
package_dir={'workflow_engine': 'workflow_engine'}, | ||
package_data={'workflow_engine': package_data_list}, | ||
entry_points={'console_scripts': scripts_list}, | ||
include_package_data=True, | ||
zip_safe=False | ||
) |
Oops, something went wrong.