mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-11-01 10:00:54 +00:00
Make msgpack-python deprecated clone of msgpack.
This commit is contained in:
parent
ab66c272b0
commit
5be9378640
4 changed files with 12 additions and 36 deletions
11
setup.py
11
setup.py
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue