8000 Make msgpack-python deprecated clone of msgpack. · yunstanford/msgpack-python@5be9378 · GitHub
[go: up one dir, main page]

< 8000 div class="position-relative header-wrapper js-header-wrapper "> Skip to content

Commit 5be9378

Browse files
committed
Make msgpack-python deprecated clone of msgpack.
1 parent ab66c27 commit 5be9378

File tree

4 files changed

+12
-36
lines changed

4 files changed

+12
-36
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ MessagePack for Python
1010
:target: https://msgpack-python.readthedocs.io/en/latest/?badge=latest
1111
:alt: Documentation Status
1212

13-
Upgrading from msgpack-0.4
14-
--------------------------
13+
IMPORTANT: Upgrading from msgpack-0.4
14+
--------------------------------------
1515

1616
TL;DR: When upgrading from msgpack-0.4 or earlier, don't do `pip install -U msgpack-python`.
1717
Do `pip uninstall msgpack-python; pip install msgpack` instead.

dummy/README

Lines changed: 0 additions & 2 deletions
This file was deleted.

dummy/setup.py

Lines changed: 0 additions & 31 deletions
This file was deleted.

setup.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
from distutils.command.build_ext import build_ext
1111

12+
# for building transitional package.
13+
TRANSITIONAL = False
14+
1215
class NoCython(Exception):
1316
pass
1417

@@ -102,7 +105,13 @@ def __init__(self, *args, **kwargs):
102105
long_desc = f.read()
103106
del f
104107

105-
setup(name='msgpack',
108+
name = 'msgpack'
109+
110+
if TRANSITIONAL:
111+
name = 'msgpack-python'
112+
long_desc = "This package is deprecated. Install msgpack instead."
113+
114+
setup(name=name,
106115
author='INADA Naoki',
107116
author_email='songofacandy@gmail.com',
108117
version=version_str,

0 commit comments

Comments
 (0)
0