only use distutils, add requirements.txt

This commit is contained in:
j 2009-10-09 16:52:22 +02:00
parent a72eea3f44
commit d2849d44ef
2 changed files with 11 additions and 9 deletions

1
requirements.txt Normal file
View file

@ -0,0 +1 @@
oxlib

View file

@ -1,28 +1,29 @@
#!/usr/bin/env python
# vi:si:et:sw=4:sts=4:ts=4
# encoding: utf-8
from setuptools import setup, find_packages
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="oxweb",
version="0.1",
description="collection of scrapers for various websites",
version="1.0.%s" % get_bzr_version() ,
description="collection of scrapers for the web",
author="0x",
author_email="code@0xdb.org",
url="http://code.0xdb.org/oxweb",
download_url="http://code.0xdb.org/oxweb/download",
license="GPLv3",
packages=find_packages(),
packages=['oxweb'],
zip_safe=False,
install_requires=[
'oxlib',
],
keywords = [
],
classifiers = [
'Development Status :: 3 - Alpha',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',