I'm experimenting with ptah; trying ptah_minicms and having some difficulty.
First,
ptah_minicms$ python setup.py develop
Failed with:
No local packages or download links found for ptah-crowd>=0.2dev
Problem seemed to be that,
examples/ptah_minicms/development.ini
Refers to ptah_crowd
(with an underscore).
e.g.:
pyramid.includes = pyramid_debugtoolbar pyramid_beaker pyramid_exclog ptah ptahcms ptah_crowd
While, the name in package at github
https://github.com/ptahproject/ptahcrowdis "ptahcrowd" (without the underscore),
was installed on my system.
After changing ptah_crowd => ptahcrowd
It setup got further, but then failed with:
File ".../examples/ptah_minicms/ptah_minicms/app.py", line 28, in bootstrap_data
admin = ptahcrowd.CrowdFactory().get_user_bylogin(admin_id)
pyramid.exceptions.ConfigurationExecutionError: <type 'exceptions.AttributeError'>: 'module' object has no attribute 'CrowdFactory'
The call that causes the problem, is:
ptahcrowd.CrowdFactory()
is documented in the api:
http://ptah_crowd.readthedocs.org/en/latest/api.htmlBut I couldn't find it in the code, just the documentation:
ptahcrowd$ grep -ri crowdfactory *
docs/api.rst: .. py:data:: CrowdFactory
docs/api.rst: ptah_crowd.CrowdFactory().add(user)
Is there something I'm doing wrong which is causing these problems? Or any suggestions for how to fix the above error with CrowdFactory so I can get ptah_minicms working?