pandora_client/setup.py

48 lines
1.2 KiB
Python
Raw Normal View History

2010-11-16 20:22:30 +00:00
#!/usr/bin/env python
# vi:si:et:sw=4:sts=4:ts=4
# encoding: utf-8
2010-12-07 00:22:29 +00:00
try:
from setuptools import setup
except:
from distutils.core import setup
2010-11-16 20:22:30 +00:00
def get_bzr_version():
import os
2011-10-09 13:03:47 +00:00
info = os.path.join(os.path.dirname(__file__), '.bzr/branch/last-revision')
if os.path.exists(info):
f = open(info)
rev = int(f.read().split()[0])
f.close()
if rev:
return u'%s' % rev
return u'unknown'
2010-11-16 20:22:30 +00:00
setup(
name="pandora_client",
2011-12-28 15:00:17 +00:00
version="0.2.%s" % get_bzr_version() ,
2012-06-22 10:10:45 +00:00
description='''pandora_client is a commandline client for pan.do/ra.
You can use it to import videos into a pan.do/ra system.
It is currently known to work on Linux and Mac OS X.
2010-11-16 20:22:30 +00:00
''',
author="j",
author_email="j@mailb.org",
2012-06-22 10:10:45 +00:00
url="http://wiki.0x2620.org/wiki/pandora_client",
2010-11-16 20:22:30 +00:00
download_url="http://code.0x2620.org/pandora_client/download",
license="GPLv3",
scripts = [
'bin/pandora_client',
],
packages=[
'pandora_client'
],
2011-12-30 13:17:28 +00:00
install_requires=['ox'],
2010-11-16 20:22:30 +00:00
keywords = [
],
classifiers = [
'Operating System :: OS Independent',
'Programming Language :: Python',
'License :: OSI Approved :: GNU General Public License (GPL)',
],
)