Skip to content

Consider merging request-schema.json into a .py file #166

Closed
@voice-of-texnoforge

Description

@voice-of-texnoforge

Hello,

I've hit a little issue when using jsonrpcserver with PyInstaller:

FileNotFoundError: [Errno 2] No such file or directory: `path-to\\jsonrpcserver\\request-schema.json'

I've submitted a simple hook for PyInstaller which fixes this but I've hit similar issues with python packaging and non-py files many times in the past and I suggest you consider moving the .json data into a .py file unless there's a good reason not to - it can be a new request_schema.py or any of existing files.

This would prevent similar problems with python packaging in various tools without requiring additional effort.

Either way, thanks for the nice library ♥

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions