2010-11-16 20:22:30 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# vi:si:et:sw=4:sts=4:ts=4
|
|
|
|
# encoding: utf-8
|
|
|
|
from distutils.core import setup
|
|
|
|
|
2010-11-18 14:34:34 +00:00
|
|
|
def get_bzr_version():
|
|
|
|
import os
|
|
|
|
rev = int(os.popen('bzr revno').read())
|
|
|
|
if rev:
|
|
|
|
return u'%s' % rev
|
|
|
|
return u'unknown'
|
|
|
|
|
2010-11-16 20:22:30 +00:00
|
|
|
setup(
|
|
|
|
name="pandora_client",
|
2010-11-18 14:34:34 +00:00
|
|
|
version="1.0.%s" % get_bzr_version() ,
|
2010-11-18 14:46:19 +00:00
|
|
|
description='''pandora_client - commandline client and python api for pan.do/ra
|
2010-11-16 20:22:30 +00:00
|
|
|
|
2010-11-18 14:46:19 +00:00
|
|
|
can be used interact with pan.do/ra instance via its api.
|
|
|
|
or instead of OxFF to keep archive and pan.do/ra instance in sync.
|
2010-11-16 20:22:30 +00:00
|
|
|
''',
|
|
|
|
author="j",
|
|
|
|
author_email="j@mailb.org",
|
|
|
|
url="http://code.0x2620.org/pandora_client",
|
|
|
|
download_url="http://code.0x2620.org/pandora_client/download",
|
|
|
|
license="GPLv3",
|
|
|
|
scripts = [
|
|
|
|
'bin/pandora_client',
|
|
|
|
],
|
|
|
|
packages=[
|
|
|
|
'pandora_client'
|
|
|
|
],
|
|
|
|
keywords = [
|
|
|
|
],
|
|
|
|
classifiers = [
|
|
|
|
'Operating System :: OS Independent',
|
|
|
|
'Programming Language :: Python',
|
|
|
|
'License :: OSI Approved :: GNU General Public License (GPL)',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|