Hello!
I want to create a Pyramid app with Poetry <https://python-poetry.org>, so
compiling eggs isn't very practical for what I'm doing. After reading
PasteDeploy's documentation and looking through multiple issues on the
Pyramid GitHub, I learned I could use the call: URI directive in order to
point to an app factory in a module. Sadly, when attempting to run pserve
development.ini, ModuleNotFoundError is risen. My Python executable has no
issue detecting my module, though, so I just can't wrap my head around what
the issue could be.
For context, here is my configuration file (my module by the way is called
milligram):
[app:main]
use = call:milligram:main
[server:main]
use = egg:waitress#main
listen = localhost:6543
And here is my file tree:
.
├── development.ini
├── milligram
│ ├── app.py
│ ├── __init__.py
│ └── __pycache__
│ ├── app.cpython-37.pyc
│ └── __init__.cpython-37.pyc
├── poetry.lock
├── pyproject.toml
├── README.rst
└── tests
├── __init__.py
└── test_milligram.py
Thank you in advance,
Kyle Williams
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pylons-discuss/b7c3d5e0-cff0-43a3-973c-c0df47ba2fa3n%40googlegroups.com.