Hello!
I want to create a Pyramid app with
Poetry, 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