Add download url.

This commit is contained in:
Naoki INADA 2010-04-29 07:08:41 +09:00
parent f77d76a320
commit dda3d24bca
2 changed files with 6 additions and 0 deletions

View File

@ -1,2 +1,3 @@
include setup.py include setup.py
include COPYING
recursive-include msgpack *.h *.c *.pyx recursive-include msgpack *.h *.c *.pyx

View File

@ -29,6 +29,10 @@ if have_cython:
else: else:
sources = ['msgpack/_msgpack.c'] sources = ['msgpack/_msgpack.c']
for f in sources:
if not os.path.exists(f):
raise ImportError("Building msgpack from VCS needs Cython. Install Cython or use sdist package.")
Sdist = sdist Sdist = sdist
msgpack_mod = Extension('msgpack._msgpack', msgpack_mod = Extension('msgpack._msgpack',
@ -60,6 +64,7 @@ setup(name='msgpack',
description=desc, description=desc,
long_description=long_desc, long_description=long_desc,
url="http://msgpack.sourceforge.jp/", url="http://msgpack.sourceforge.jp/",
download_url='http://pypi.python.org/pypi/msgpack/',
classifiers=[ classifiers=[
'Development Status :: 4 - Beta', 'Development Status :: 4 - Beta',
'Intended Audience :: Developers', 'Intended Audience :: Developers',