Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000032PyRosetta[All Projects] Documentationpublic2012-06-29 18:392012-08-03 14:04
Assigned ToSergey 
PlatformAll platformsOSAnyOS VersionAny
Product Version 
Fixed in Version 
Summary0000032: No __version__ element in PyRosetta's rosetta package
DescriptionTo display the PyRosetta version number, I make the following function call:
 import rosetta

However, many Python packages use the __version__ variable (typically a string) for this purpose e.g.
 import somepackage

The __version__ variable is somewhat standard so maybe we should use this instead.
Steps To Reproducepython
>> import rosetta
>> rosetta.__version__
Additional InformationThere are active Python style guidelines from Guido on how to implement __version__ for SVN builds: [^]
The $Revision$ string is filled in by subversion.

Moving forward with git, using either 'git-archive' packaging tool or else the 'git describe' command may be useful: [^]
The --dirty, --tags, and --always options of 'git describe' add useful branch information.
Application(s) AffectedPyRosetta
Command Line Usedpython
Developer Options
Fixed in SVN Version49759
Attached Files

- Relationships

-  Notes
Labonte (Developer)
2012-07-06 13:50

__version__ returns a string with the version #; version() continues to return the same paragraph that includes the version number as before.

- Issue History
Date Modified Username Field Change
2012-06-29 18:39 oconchus New Issue
2012-06-29 18:41 oconchus Tag Attached: PyRosetta
2012-06-29 18:51 oconchus Assigned To => Sergey
2012-06-29 18:51 oconchus Status new => assigned
2012-07-06 13:50 Labonte Fixed in SVN Version => 49759
2012-07-06 13:50 Labonte Note Added: 0000023
2012-07-06 13:50 Labonte Status assigned => resolved
2012-07-06 13:50 Labonte Resolution open => fixed
2012-08-03 14:04 delucasl Project Rosetta => PyRosetta

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker