summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 66cf27e..2feaff9 100755
--- a/setup.py
+++ b/setup.py
@@ -29,6 +29,10 @@ if have_cython:
else:
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
msgpack_mod = Extension('msgpack._msgpack',
@@ -60,6 +64,7 @@ setup(name='msgpack',
description=desc,
long_description=long_desc,
url="http://msgpack.sourceforge.jp/",
+ download_url='http://pypi.python.org/pypi/msgpack/',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',