|
|
Choosing A Webhost: |
[mb-commits] r7314 - in libtunepimp/trunk/python: . tunepimp: msg#00203audio.musicbrainz.cvs
Author: luks Date: 2006-04-22 20:15:08 +0000 (Sat, 22 Apr 2006) New Revision: 7314 Modified: libtunepimp/trunk/python/setup.py libtunepimp/trunk/python/tunepimp/__init__.py.in Log: * Rearranged setup.py to check for __init__.py first and then import it * Removed unnecessary import of tunepimp.tunepimp in __init__.py Modified: libtunepimp/trunk/python/setup.py =================================================================== --- libtunepimp/trunk/python/setup.py 2006-04-22 19:30:40 UTC (rev 7313) +++ libtunepimp/trunk/python/setup.py 2006-04-22 20:15:08 UTC (rev 7314) @@ -28,14 +28,15 @@ from distutils.core import setup, Extension import os.path -import tunepimp if not os.path.exists(os.path.join('tunepimp', '__init__.py')): print "ERROR: Please run ../configure before installing this package." raise ValueError +from tunepimp import __version__ + setup(name="tunepimp", - version=tunepimp.__version__, + version=__version__, description="MusicBrainz TunePimp Extension", author="Robert Kaye", author_email="rob@xxxxxxxxxx", Modified: libtunepimp/trunk/python/tunepimp/__init__.py.in =================================================================== --- libtunepimp/trunk/python/tunepimp/__init__.py.in 2006-04-22 19:30:40 UTC (rev 7313) +++ libtunepimp/trunk/python/tunepimp/__init__.py.in 2006-04-22 20:15:08 UTC (rev 7314) @@ -24,8 +24,7 @@ # $Id$ # #--------------------------------------------------------------------------- -import tunepimp __version__ = '@VERSION@' -__doc__ = tunepimp.__doc__ -__all__ = ['tunepimp', 'track', 'metadata', 'strconvert'] +__all__ = ['tunepimp', 'track', 'metadata'] +
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [mb-commits] r7313 - in libtunepimp/trunk: . python python/tunepimp, root |
|---|---|
| Next by Date: | [mb-commits] r7315 - picard/trunk/picard, root |
| Previous by Thread: | [mb-commits] r7313 - in libtunepimp/trunk: . python python/tunepimp, root |
| Next by Thread: | [mb-commits] r7315 - picard/trunk/picard, root |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |