|
Revision 113, 1.0 KB
(checked in by cmccurdy, 19 months ago)
|
|
added a resource/ui makefile
|
| Line | |
|---|
| 1 | #!/usr/bin/env python |
|---|
| 2 | |
|---|
| 3 | import sys |
|---|
| 4 | from distutils.core import setup |
|---|
| 5 | #from optparse import OptionParser |
|---|
| 6 | |
|---|
| 7 | #parser = OptionParser() |
|---|
| 8 | |
|---|
| 9 | #parser.add_option('--prefix', action='store', type='string', |
|---|
| 10 | # dest='prefix', default='/usr/local', help='Directory to install') |
|---|
| 11 | #parser.add_option('--without-gui', action='store_false', |
|---|
| 12 | # dest='gui', default=True, help='Include the GUI with the install') |
|---|
| 13 | |
|---|
| 14 | #try: |
|---|
| 15 | # (options, args) = parser.parse_args() |
|---|
| 16 | #except Exception, strerr: |
|---|
| 17 | # sys.stderr.write('Error parsing arguments: %s\n' % strerr) |
|---|
| 18 | # sys.exit(1) |
|---|
| 19 | |
|---|
| 20 | packages = ['rockfm'] |
|---|
| 21 | #if options.gui: |
|---|
| 22 | # try: |
|---|
| 23 | # import PyQt4 |
|---|
| 24 | # packages.append('rockfm.ui') |
|---|
| 25 | # except ImportError: |
|---|
| 26 | # sys.stderr.write('PyQt4 could not be loaded.\nExiting..\n') |
|---|
| 27 | # sys.exit(1) |
|---|
| 28 | |
|---|
| 29 | setup(name='rock.fm', |
|---|
| 30 | version='1.0', |
|---|
| 31 | description='Rockbox track scrobbler and last.fm data viewer', |
|---|
| 32 | author='Christopher McCurdy', |
|---|
| 33 | author_email='christopher.mccurdy@gmail.com', |
|---|
| 34 | url='http://gumbercules.net/projects/rockfm', |
|---|
| 35 | packages=packages, |
|---|
| 36 | ) |
|---|