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

Examples are placed in the root of the site-packages dir #91

Closed
fabaff opened this issue Jan 9, 2020 · 2 comments
Closed

Examples are placed in the root of the site-packages dir #91

fabaff opened this issue Jan 9, 2020 · 2 comments

Comments

@fabaff
Copy link
Contributor

fabaff commented Jan 9, 2020

Examples are placed in the root of the site-packages directory which will make it hard to identify them (is also a packaging issue).

    Installed (but unpackaged) file(s) found:
   /usr/lib/python3.7/site-packages/examples/__init__.py
   /usr/lib/python3.7/site-packages/examples/__pycache__/__init__.cpython-37.opt-1.pyc
   /usr/lib/python3.7/site-packages/examples/__pycache__/__init__.cpython-37.pyc
   /usr/lib/python3.7/site-packages/examples/__pycache__/properties.cpython-37.opt-1.pyc
   /usr/lib/python3.7/site-packages/examples/__pycache__/properties.cpython-37.pyc
   /usr/lib/python3.7/site-packages/examples/__pycache__/shared_subscriptions.cpython-37.opt-1.pyc
   /usr/lib/python3.7/site-packages/examples/__pycache__/shared_subscriptions.cpython-37.pyc
   /usr/lib/python3.7/site-packages/examples/__pycache__/will_message.cpython-37.opt-1.pyc
   /usr/lib/python3.7/site-packages/examples/__pycache__/will_message.cpython-37.pyc
   /usr/lib/python3.7/site-packages/examples/properties.py
   /usr/lib/python3.7/site-packages/examples/shared_subscriptions.py
   /usr/lib/python3.7/site-packages/examples/will_message.py

From my point of view they should go under or not be included at all:

/usr/lib/python3.7/site-packages/gmatt/examples/
@Lenka42
Copy link
Collaborator

Lenka42 commented Jan 17, 2020

Fixed in version 0.5.6

@Lenka42 Lenka42 closed this as completed Jan 17, 2020
@apljungquist
Copy link

This seems to still be an issue as of 0.6.12. The gmqtt distribution package installs import packages gmqtt (expected) as well as examples and tests (surprising and disruptive). Is this intentional or something that we would like to fix?

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

3 participants