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

setup.py doesn't work when PyYAML is not preinstalled #41

Open
froxec opened this issue Apr 26, 2024 · 0 comments
Open

setup.py doesn't work when PyYAML is not preinstalled #41

froxec opened this issue Apr 26, 2024 · 0 comments

Comments

@froxec
Copy link

froxec commented Apr 26, 2024

I've discovered that installing the package through the setup.py doesn't work when PyYAML is not preinstalled.
That's because setup.py uses this line:
from irsdk import VERSION.

irsdk file is of course dependent on PyYAML.

Quick fix: move VERSION to different file like version.py and change line
from irsdk import VERSION
to
from version import VERSION

This is not a critical problem, but worth to resolve.

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

No branches or pull requests

1 participant