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

Updated erpc_python/setup.py #38

Merged
merged 2 commits into from
Jan 18, 2022
Merged

Updated erpc_python/setup.py #38

merged 2 commits into from
Jan 18, 2022

Conversation

kacper-ka
Copy link
Contributor

Description

Updated erpc_python/setup.py. Remove import of the erpc_version submodule, causing execution of the package initialization script, pulling another submodules and in consequence causing failure of package installation in a clean Python environment. Instead of using import feature, open the erpc_version.py file directly in execute it, causing ERPC_VERSION constant to be available directly in the namespace when setup function is being executed.

Related Issue

Resolves #37

* fix premature import of package, causing failure when attempting
    installation of Python library in a clean environment.
@Hadatko
Copy link
Member

Hadatko commented Jul 3, 2018

Hi, thank you for your contribution. Could you change destination branch to develop.

@kacper-ka kacper-ka changed the base branch from master to develop July 3, 2018 10:39
@kacper-ka
Copy link
Contributor Author

Done.

Copy link
Member

@Hadatko Hadatko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changes are fine. I would put ERPC_VERSION = None before opening file (fixing editor warning highlight).

Apply review suggestion: initialize ERPC_VERSION to None
Copy link
Member

@Hadatko Hadatko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much that you are still active, this should be merge soon if @MichalPrincNXP will agree.

@MichalPrincNXP MichalPrincNXP merged commit 6e0fbbe into EmbeddedRPC:develop Jan 18, 2022
@MichalPrincNXP
Copy link
Member

Thank you for the effort and the patience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Failure when installing Python library
3 participants