allow pyDAL from pypi on web2py?

29 views
Skip to first unread message

Giovanni Barillari

unread,
Jan 26, 2015, 4:04:30 AM1/26/15
to web2py-d...@googlegroups.com
Hi all,
I was thinking about the current implementation of pyDAL inside web2py. It refuses to start if pyDAL isn't inside gluon/packages/dal.

Do we want to allow users to use a previous installed pydal package via pypi with web2py?
Eg. changing the gluon/__init__.py check to try importing directly the module and then from packages/dal

What do you think?
If we want to ensure the usage of a specific version of pyDAL we can still do that.


/Giovanni

Niphlod

unread,
Jan 26, 2015, 8:41:03 AM1/26/15
to web2py-d...@googlegroups.com
I think that is to have a "safe way" to assume that the web2py you're running comes from a recursive clone, i.e. you're using the pydal version web2py was shipped with.
Then, if users want to disrupt everything manually copying a newer pydal into it it's completely their fault.
And, BTW, I would not recommend importing from sistem-wide packages a more recent pydal version without web2py knowing it.

Massimo DiPierro

unread,
Jan 26, 2015, 10:00:54 AM1/26/15
to web2py-d...@googlegroups.com
I agree

--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-d...@googlegroups.com
unsubscribe: web2py-develop...@googlegroups.com
details : http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-develop...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages