python-oxlib/setup.py

32 lines
805 B
Python
Raw Normal View History

2008-04-27 16:54:37 +00:00
#!/usr/bin/env python
2008-06-19 09:21:21 +00:00
# vi:si:et:sw=4:sts=4:ts=4
2008-04-27 16:54:37 +00:00
# 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'
2008-04-27 16:54:37 +00:00
setup(
2008-07-03 09:23:42 +00:00
name="oxlib",
version="1.0.%s" % get_bzr_version() ,
2009-01-23 05:02:20 +00:00
description="python-oxlib some tools to build tools",
2008-06-19 09:21:21 +00:00
author="0x",
author_email="code@0xdb.org",
url="http://code.0xdb.org/python-oxlib",
download_url="http://code.0xdb.org/python-oxlib/download",
2008-06-19 09:21:21 +00:00
license="GPLv3",
2009-12-10 12:31:17 +00:00
packages=['oxlib', 'oxlib.torrent'],
2008-06-19 09:21:21 +00:00
keywords = [
],
classifiers = [
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
2008-04-27 16:54:37 +00:00