mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-11-03 11:00:55 +00:00
Add download url.
This commit is contained in:
parent
42cb39a977
commit
316a0fa7b9
2 changed files with 6 additions and 0 deletions
|
|
@ -1,2 +1,3 @@
|
||||||
include setup.py
|
include setup.py
|
||||||
|
include COPYING
|
||||||
recursive-include msgpack *.h *.c *.pyx
|
recursive-include msgpack *.h *.c *.pyx
|
||||||
|
|
|
||||||
5
setup.py
5
setup.py
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue