Commit 21ea04a4 authored by sirex's avatar sirex

Merged in ximmm/rubygemsrecipe (pull request #6)

make python3 compatible (fixes #3)
parents aed03fa8 ab751155
...@@ -108,6 +108,7 @@ class Recipe(object): ...@@ -108,6 +108,7 @@ class Recipe(object):
f = urllib.urlopen('http://rubygems.org/pages/download') f = urllib.urlopen('http://rubygems.org/pages/download')
s = f.read() s = f.read()
s = unicode(s)
f.close() f.close()
r = re.search(r'http://production.cf.rubygems.org/rubygems/' r = re.search(r'http://production.cf.rubygems.org/rubygems/'
r'rubygems-([0-9.]+).zip', s) r'rubygems-([0-9.]+).zip', s)
......
...@@ -29,6 +29,7 @@ setup(name=name, ...@@ -29,6 +29,7 @@ setup(name=name,
py_modules=['rubygems'], py_modules=['rubygems'],
include_package_data=True, include_package_data=True,
zip_safe=False, zip_safe=False,
use_2to3 = True,
install_requires=[ install_requires=[
'zc.buildout', 'zc.buildout',
'setuptools', 'setuptools',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment