2008-04-28 09:52:21 +00:00
|
|
|
#!/usr/bin/env python
|
2008-06-19 09:47:02 +00:00
|
|
|
# vi:si:et:sw=4:sts=4:ts=4
|
2008-04-28 09:52:21 +00:00
|
|
|
# encoding: utf-8
|
2009-10-09 14:52:22 +00:00
|
|
|
from distutils.core import setup
|
2008-04-28 09:52:21 +00:00
|
|
|
|
2009-10-09 14:52:22 +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-28 09:52:21 +00:00
|
|
|
|
|
|
|
setup(
|
2008-07-03 09:21:18 +00:00
|
|
|
name="oxweb",
|
2009-10-09 14:52:22 +00:00
|
|
|
version="1.0.%s" % get_bzr_version() ,
|
|
|
|
description="collection of scrapers for the web",
|
2008-06-19 09:47:02 +00:00
|
|
|
author="0x",
|
|
|
|
author_email="code@0xdb.org",
|
2009-10-12 15:18:59 +00:00
|
|
|
url="http://code.0xdb.org/python-oxweb",
|
2008-07-03 09:24:49 +00:00
|
|
|
download_url="http://code.0xdb.org/oxweb/download",
|
2008-06-19 09:47:02 +00:00
|
|
|
license="GPLv3",
|
2009-10-12 15:18:59 +00:00
|
|
|
packages=['oxweb'],
|
2008-06-19 09:47:02 +00:00
|
|
|
keywords = [
|
|
|
|
],
|
|
|
|
classifiers = [
|
|
|
|
'Operating System :: OS Independent',
|
|
|
|
'Programming Language :: Python',
|
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
|
|
],
|
|
|
|
)
|
2008-04-28 09:52:21 +00:00
|
|
|
|