Fixed imports and floating-point representations in musicxml doctests.

Python 2.6 sometimes represents floats slightly differently from 2.7.


git-svn-id: http://music21.googlecode.com/svn/trunk@3388 5c16147e-a200-11de-b0cc-ab0ad15e60d0
Corrected more doctests for inconsistencies between Python 2.6 and 2.7.

Moved Music21 version info into _version.py.

Explanation:

Music21's setup.py no longer needs to import music21 in order to determine version information.  Instead, the setup.py can simply read in the contents of _version.py and exec them.

This is important because it decouples music21's package structure entirely from the setup.py, making it easier for other packaging systems (for example, RPM) to examine the project's setup information without triggering a massive import cycle.  It also helps avoid certain situations where, because music21 is imported during the installation process, a user might inadvertently create configuration files owned by the root user rather than themself.


git-svn-id: http://music21.googlecode.com/svn/trunk@3389 5c16147e-a200-11de-b0cc-ab0ad15e60d0
Improved setup.py.


git-svn-id: http://music21.googlecode.com/svn/trunk@3390 5c16147e-a200-11de-b0cc-ab0ad15e60d0
Added 'moduleRelative' option to music21.base.mainTest().

When set, this option prevents a copy of the music21 root module dictionary from being passed as ``globs`` for doctesting purposes.


git-svn-id: http://music21.googlecode.com/svn/trunk@3391 5c16147e-a200-11de-b0cc-ab0ad15e60d0