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

my-script #2

Closed
jayvdb opened this issue Sep 6, 2022 · 2 comments
Closed

my-script #2

jayvdb opened this issue Sep 6, 2022 · 2 comments

Comments

@jayvdb
Copy link

jayvdb commented Sep 6, 2022

The entry point / script defined at https://github.com/TheWall89/inducoapi/blob/master/pyproject.toml#L21 is incorrect.

The result is:

$ my-script
Traceback (most recent call last):
  File "/usr/bin/my-script", line 33, in <module>
    sys.exit(load_entry_point('inducoapi==2.0.0', 'console_scripts', 'my-script')())
  File "/usr/bin/my-script", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib64/python3.10/importlib/metadata/__init__.py", line 173, in load
    return functools.reduce(getattr, attrs, module)
AttributeError: module 'inducoapi' has no attribute 'main'
@TheWall89
Copy link
Owner

TheWall89 commented Sep 26, 2022

Hello and thanks for the report. I'll try to look into this as soon as possible. (same message as the other issue, but really thank you for taking the time 😄 )

@TheWall89
Copy link
Owner

Hi, get latest version from master branch and this should be fixed. Sorry, forgot to create a PR and just did a commit/push.
Feel free to re-open if not working.

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

2 participants