Loading ...
Sorry, an error occurred while loading the content.

Re: [Cheetahtemplate-discuss] Detect Cheetah version?

Expand Messages
  • Tavis Rudd
    Ah, that must only be in the CVS version. ... This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code
    Message 1 of 7 , Feb 23, 2003
    • 0 Attachment
      Ah, that must only be in the CVS version.

      On Sunday 23 February 2003 10:43, Chuck Esterbrook wrote:
      > That would be nice, but it gives me:
      >
      > $ python
      > Python 2.2.2 (#1, Nov 26 2002, 16:14:37)
      > [GCC 3.2 (Mandrake Linux 9.0 3.2-1mdk)] on linux2
      >
      > >>> from Cheetah import Version
      >
      > ImportError: cannot import name Version
      >
      > at least for 15a3. Same with 'version'.
      >
      > -Chuck
      >
      > On Sunday 23 February 2003 10:29 am, Tavis Rudd wrote:
      > > I believe you can also do this inside Python:
      > > from Cheetah import Version
      > >
      > > On Sunday 23 February 2003 09:39, Chuck Esterbrook wrote:
      > > > On Sunday 23 February 2003 09:30 am, Edmund Lian wrote:
      > > > > On 02/23/2003 12:11:57 PM Chuck wrote:
      > > > > >Once Cheetah is installed via distutils, is there a way to get
      > > > > > the Cheetah version?
      > > > > >
      > > > > >I don't see any explicit file in
      > > > > >/usr/local/lib/python2.2/site-packages/Cheetah, or relevant
      > > > > > variable in dir(Cheetah).
      > > > >
      > > > > Don't know if this is what you're looking for, but "cheetah
      > > > > version" from a command line gets you the version...
      > > > >
      > > > > ...Edmund.
      > > >
      > > > That's what I was looking for! Thanks. -Chuck
      > > >
      > > >
      > > >
      > > > -------------------------------------------------------
      > > > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
      > > > The most comprehensive and flexible code editor you can use.
      > > > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day
      > > > Trial. www.slickedit.com/sourceforge
      > > > _______________________________________________
      > > > Cheetahtemplate-discuss mailing list
      > > > Cheetahtemplate-discuss@...
      > > > https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discus
      > > >s
      >
      > -------------------------------------------------------
      > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
      > The most comprehensive and flexible code editor you can use.
      > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
      > www.slickedit.com/sourceforge
      > _______________________________________________
      > Cheetahtemplate-discuss mailing list
      > Cheetahtemplate-discuss@...
      > https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss



      -------------------------------------------------------
      This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
      The most comprehensive and flexible code editor you can use.
      Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
      www.slickedit.com/sourceforge
      _______________________________________________
      Cheetahtemplate-discuss mailing list
      Cheetahtemplate-discuss@...
      https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
    • mso@oz.net
      ... Re the larger question, the canonical location of the version is from Cheetah._properties import Version scripts that need this info do the import at the
      Message 2 of 7 , Feb 24, 2003
      • 0 Attachment
        > On Sunday 23 February 2003 09:30 am, Edmund Lian wrote:
        >> On 02/23/2003 12:11:57 PM Chuck wrote:
        >> >Once Cheetah is installed via distutils, is there a way to get the
        >> Cheetah version?
        >> >
        >> >I don't see any explicit file in
        >> >/usr/local/lib/python2.2/site-packages/Cheetah, or relevant variable
        >> > in dir(Cheetah).
        >>
        >> Don't know if this is what you're looking for, but "cheetah version"
        >> from a command line gets you the version...
        >>
        >> ...Edmund.
        >
        > That's what I was looking for! Thanks. -Chuck

        Re the larger question, the canonical location of the version is
        from Cheetah._properties import Version
        scripts that need this info do the import at the top.






        -------------------------------------------------------
        This sf.net email is sponsored by:ThinkGeek
        Welcome to geek heaven.
        http://thinkgeek.com/sf
        _______________________________________________
        Cheetahtemplate-discuss mailing list
        Cheetahtemplate-discuss@...
        https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
      Your message has been successfully submitted and would be delivered to recipients shortly.