-
Notifications
You must be signed in to change notification settings - Fork 162
'pip install -r requirements.txt -t lib' does not work for namespaced packages #8
Comments
Looks like replacing the |
@webmaven, sure as long as you follow CONTRIB.md and document which version of pip is required in README.md. |
Thanks! UPDATE: The version of pip required has not changed. |
BTW, I've submitted the individual CLA. |
I'm reviewing this now. Sorry for the delay. |
@lesv, thanks for merging the PR! Should I close this issue now, and get started on similar issues/PR's for other affected example apps? |
I have no idea how proppy manages things, so I'm going to close the issue. Just send pull requests, and for the next week, just mention lesv in the comments, so I know to look at them. I don't think you need to open an issue for each problem if your going to submit PR's. |
P.S. Thank you for your submission. |
Cool, thanks for the guidance. P.P.S. You're very welcome. |
It seems that pip installing namespace packages (examples:
repoze.lru
,zope.events
,zope.interface
, etc.) into a local directory likelib/
does not work. Or rather, the packages are installed correctly, but Python ignores the*-nspkg.pth
file when packages are not in the usual locations: pypa/pip#1924Right now, the skeleton inserts
lib/
into sys.path to make dependencies importable in the first place: https://github.com/GoogleCloudPlatform/appengine-python-flask-skeleton/blob/master/appengine_config.py#L6Is there anything similar that can be done to get namespace packages working correctly?
The text was updated successfully, but these errors were encountered: