only use distutils, add requirements.txt

This commit is contained in:
j 2009-10-09 16:53:52 +02:00
parent 56e4f0b539
commit 1d7b6a31f0
2 changed files with 12 additions and 8 deletions

2
requirements.txt Normal file
View file

@ -0,0 +1,2 @@
simplejson
chardet

View file

@ -1,27 +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
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="oxlib", name="oxlib",
version="0.1", version="1.0.%s" % get_bzr_version() ,
description="python-oxlib some tools to build tools", description="python-oxlib some tools to build tools",
author="0x", author="0x",
author_email="code@0xdb.org", author_email="code@0xdb.org",
url="http://code.0xdb.org/oxlib", url="http://code.0xdb.org/oxlib",
download_url="http://code.0xdb.org/oxlib/download", download_url="http://code.0xdb.org/oxlib/download",
license="GPLv3", license="GPLv3",
packages=find_packages(), packages=['oxlib'],
zip_safe=False, zip_safe=False,
install_requires=[
'simplejson',
'chardet',
],
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',