Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update setup.py. Add config directory to package_data #890

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sparkymann
Copy link

При билде не попадает директория с конфигом, из-за этого не получается использовать плагин OfflineReport.
Stack:

Traceback (most recent call last):
  File \"/usr/local/lib/python3.9/dist-packages/yandextank/validator/validator.py\", line 41, in load_plugin_schema
    return load_yaml_schema(
  File \"/usr/local/lib/python3.9/dist-packages/yandextank/validator/validator.py\", line 30, in load_yaml_schema
    file_content = read_resource(path)
  File \"/usr/local/lib/python3.9/dist-packages/yandextank/common/util.py\", line 34, in read_resource
    with open(path, file_open_mode) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.9/dist-packages/yandextank/plugins/OfflineReport/config/schema.yaml'

add OfflineReport config dir to package data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant