Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

[mb-commits] r7314 - in libtunepimp/trunk/python: . tunepimp: msg#00203

audio.musicbrainz.cvs

Subject: [mb-commits] r7314 - in libtunepimp/trunk/python: . tunepimp

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>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation