#2109: Missing hashlib on python2.4
------------------------+---------------------------------------------------
 Reporter:  lszyba1     |        Owner:  faide
     Type:  defect      |       Status:  new  
 Priority:  normal      |    Milestone:  2.0b2
Component:  TurboGears  |      Version:  trunk
 Severity:  normal      |   Resolution:       
 Keywords:              |  
------------------------+---------------------------------------------------
Old description:

> When installing tg2 on a python2.4 the hashlib package is missing. It is
> in python2.5 as one of the core libraries but not in python2.4.
>
> Is it possible to add a requirement for hashlib? I'm not sure what would
> be the setup.py statement that would do that.
>

>  File "/usr/local/turbogears/myapp/myapp/model/auth.py", line 1, in ?
>    from hashlib import sha1
> ImportError: No module named hashlib
>
> Thanks,
> Lucas

New description:

 When installing tg2 on a python2.4 the hashlib package is missing. It is
 in python2.5 as one of the core libraries but not in python2.4.

 Is it possible to add a requirement for hashlib? I'm not sure what would
 be the setup.py statement that would do that.

 {{{
  File "/usr/local/turbogears/myapp/myapp/model/auth.py", line 1, in ?
    from hashlib import sha1
 ImportError: No module named hashlib
 }}}
 Thanks,
 Lucas

Comment (by jorge.vargas):

 We should either

  a- make a conditional import at auth.py
  b- document the issue.

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2109#comment:2>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to