python-ox/setup.py
2010-11-26 15:02:14 +01:00

35 lines
914 B
Python

#!/usr/bin/env python
# vi:si:et:sw=4:sts=4:ts=4
# encoding: utf-8
try:
from setuptools import setup
except:
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="ox",
version="2.0.%s" % get_bzr_version() ,
description="python-ox - the web in a dict",
author="0x2620",
author_email="0x2620@0x2620.org",
url="http://code.0x2620.org/python-ox",
download_url="http://code.0x2620.org/python-ox/download",
license="GPLv3",
packages=['ox', 'ox.django', 'ox.torrent', 'ox.web'],
install_requires=['chardet', 'feedparser'],
keywords = [
],
classifiers = [
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)