make login optional, support passing config dict

This commit is contained in:
j 2010-11-18 15:34:34 +01:00
commit e44dad7dec
2 changed files with 20 additions and 8 deletions

View file

@ -3,9 +3,16 @@
# encoding: utf-8
from distutils.core import setup
def get_bzr_version():
import os
rev = int(os.popen('bzr revno').read())
if rev:
return u'%s' % rev
return u'unknown'
setup(
name="pandora_client",
version="1.0",
version="1.0.%s" % get_bzr_version() ,
description='''pandora_client - headless archive client for pan.do/ra
can be used instead of OxFF to keep archive and pan.do/ra instance in sync.