Make msgpack-python deprecated clone of msgpack.

This commit is contained in:
INADA Naoki 2018-01-10 02:48:08 +09:00
parent ab66c272b0
commit 5be9378640
4 changed files with 12 additions and 36 deletions

View file

@ -9,6 +9,9 @@ from setuptools import setup, Extension
from distutils.command.build_ext import build_ext
# for building transitional package.
TRANSITIONAL = False
class NoCython(Exception):
pass
@ -102,7 +105,13 @@ with io.open('README.rst', encoding='utf-8') as f:
long_desc = f.read()
del f
setup(name='msgpack',
name = 'msgpack'
if TRANSITIONAL:
name = 'msgpack-python'
long_desc = "This package is deprecated. Install msgpack instead."
setup(name=name,
author='INADA Naoki',
author_email='songofacandy@gmail.com',
version=version_str,