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

Packages with '.' in the name fail #272

Closed
gricey432 opened this issue Aug 23, 2016 · 1 comment
Closed

Packages with '.' in the name fail #272

gricey432 opened this issue Aug 23, 2016 · 1 comment

Comments

@gricey432
Copy link
Contributor

Python packages with . in the name such as zope.sqlalchemy fail to be imported properly on lambda.
The file structure is

/site-packages
    /zope
        /sqlalchemy
            __init__.py
            (other files)

When executed on lambda it fails to import zope.sqlalchemy.

I'm currently working around this in my Jenkins job by doing

touch $WORKSPACE/.pyenv/lib/python2.7/site-packages/zope/__init__.py

before running Zappa.

Is this something that could / should be built into Zappa?

@Miserlou
Copy link
Owner

Good one, related: #45

PRs welcome..

kalkehcoisa pushed a commit to kalkehcoisa/Zappa that referenced this issue Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants