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
|
2010-11-19 19:18:19 +00:00
|
|
|
try:
|
|
|
|
from setuptools import setup
|
|
|
|
except:
|
|
|
|
from distutils.core import setup
|
2009-10-09 14:53:52 +00:00
|
|
|
|
|
|
|
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(
|
2010-07-07 22:34:04 +00:00
|
|
|
name="ox",
|
|
|
|
version="2.0.%s" % get_bzr_version() ,
|
2010-09-03 21:19:19 +00:00
|
|
|
description="python-ox - the web in a dict",
|
2010-09-04 11:05:33 +00:00
|
|
|
author="0x2620",
|
|
|
|
author_email="0x2620@0x2620.org",
|
2010-07-07 22:34:04 +00:00
|
|
|
url="http://code.0x2620.org/python-ox",
|
|
|
|
download_url="http://code.0x2620.org/python-ox/download",
|
2008-06-19 09:21:21 +00:00
|
|
|
license="GPLv3",
|
2010-07-08 08:06:00 +00:00
|
|
|
packages=['ox', 'ox.torrent', 'ox.web'],
|
2010-11-19 19:18:19 +00:00
|
|
|
install_requires=['chardet', 'feedparser'],
|
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
|
|
|
|