Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

PIP Installation Result in Empty/Incomplete Module #5

Closed
tolmanam opened this issue Nov 13, 2020 · 4 comments
Closed

PIP Installation Result in Empty/Incomplete Module #5

tolmanam opened this issue Nov 13, 2020 · 4 comments
Assignees

Comments

@tolmanam
Copy link

The PIP command appears to work:

$ pip install fastapi-socketio
Collecting fastapi-socketio
  Downloading fastapi_socketio-0.1-py3-none-any.whl (6.0 kB)
Installing collected packages: fastapi-socketio
Successfully installed fastapi-socketio-0.1

But the resulting module is effectively empty:

$ find .../site-packages/fastapi_socketio/
.../site-packages/fastapi_socketio/
.../site-packages/fastapi_socketio/__pycache__
.../site-packages/fastapi_socketio/__pycache__/__init__.cpython-38.pyc
.../site-packages/fastapi_socketio/__init__.py

The __init__py looks like a stub.

$ cat .../site-packages/fastapi_socketio/__init__.py 
def example_function():
    return 1 + 1
@pyropy
Copy link
Owner

pyropy commented Nov 13, 2020

Thank you for reporting the issue, will resolve it soon😁🍀

@pyropy pyropy self-assigned this Nov 14, 2020
@pyropy
Copy link
Owner

pyropy commented Nov 14, 2020

@tolmanam Thanks for reporting the issue, I resolved it. Turns out I should actually change package version in setup.py also 😄

I suck at this stuff 😄

Thank you once again for reporting 🚀

@pyropy pyropy closed this as completed Nov 14, 2020
@tolmanam
Copy link
Author

Great! Thank you for putting this together and for the quick fix.

@pyropy
Copy link
Owner

pyropy commented Nov 16, 2020

@tolmanam No problems, If you have any suggestions for features or feedback feel free to make another issue!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants