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