use setuptools, depend on chardet and feedparser

This commit is contained in:
j 2010-11-19 20:18:19 +01:00
parent 01c368d493
commit 0eeecabbd2
2 changed files with 6 additions and 2 deletions

View file

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

View file

@ -1,7 +1,10 @@
#!/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 distutils.core import setup try:
from setuptools import setup
except:
from distutils.core import setup
def get_bzr_version(): def get_bzr_version():
import os import os
@ -20,6 +23,7 @@ setup(
download_url="http://code.0x2620.org/python-ox/download", download_url="http://code.0x2620.org/python-ox/download",
license="GPLv3", license="GPLv3",
packages=['ox', 'ox.torrent', 'ox.web'], packages=['ox', 'ox.torrent', 'ox.web'],
install_requires=['chardet', 'feedparser'],
keywords = [ keywords = [
], ],
classifiers = [ classifiers = [