2009-10-12 13:10:22 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# vi:si:et:sw=4:sts=4:ts=4
|
|
|
|
# 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="oxdjango",
|
|
|
|
version="1.0.%s" % get_bzr_version() ,
|
|
|
|
description="django utils and usefull stuff",
|
|
|
|
author="0x",
|
|
|
|
author_email="code@0xdb.org",
|
2009-10-12 15:23:30 +00:00
|
|
|
url="http://code.0xdb.org/python-oxdjango",
|
2009-10-12 13:10:22 +00:00
|
|
|
download_url="http://code.0xdb.org/python-oxdjango/download",
|
|
|
|
license="GPLv3",
|
2009-10-12 15:23:30 +00:00
|
|
|
packages=['oxdjango'],
|
2009-10-12 13:10:22 +00:00
|
|
|
keywords = [
|
|
|
|
],
|
|
|
|
classifiers = [
|
|
|
|
'Operating System :: OS Independent',
|
|
|
|
'Programming Language :: Python',
|
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|