~ubuntu-branches/ubuntu/oneiric/python-musicbrainz2/oneiric

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Bazaar Package Importer
  • Author(s): Lukáš Lalinský
  • Date: 2008-05-23 15:41:59 UTC
  • mfrom: (1.1.2 upstream) (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080523154159-z7op49vg1l1z4arl
Tags: 0.6.0-1
* New upstream release.
* Change policy version to 3.7.3.
* Replace homepage in the description with a Homepage field.
* Add Vcs-Bzr field.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /usr/bin/env python
2
 
__revision__ = '$Id: setup.py 8485 2006-09-19 13:52:34Z matt $'
 
2
__revision__ = '$Id: setup.py 9706 2008-02-25 20:53:45Z matt $'
3
3
 
4
4
import os
5
5
import sys
41
41
        def run(self):
42
42
                from distutils.spawn import find_executable, spawn
43
43
                bin = find_executable('epydoc')
 
44
                if not bin:
 
45
                        print>>sys.stderr, 'error: epydoc not found'
 
46
                        sys.exit(1)
44
47
                noPrivate = '--no-private'
45
 
                cmd = (bin, noPrivate, os.path.join('src', 'musicbrainz2'))
 
48
                verbose = '-v'
 
49
                cmd = (bin, noPrivate, verbose,
 
50
                        os.path.join('src', 'musicbrainz2'))
46
51
 
47
52
                spawn(cmd)
48
53
 
84
89
        'author':       'Matthias Friedrich',
85
90
        'author_email': 'matt@mafr.de',
86
91
        'url':          'http://musicbrainz.org/products/python-musicbrainz2/',
87
 
        'download_url': 'ftp://ftp.musicbrainz.org/pub/musicbrainz/python-musicbrainz2/',
 
92
        'download_url': 'http://ftp.musicbrainz.org/pub/musicbrainz/python-musicbrainz2/',
88
93
        'classifiers':  trove_classifiers,
89
94
        'license':      'BSD',
90
95
        'packages':     [ 'musicbrainz2', 'musicbrainz2.data' ],