Skip to content

Commit

Permalink
Make msgpack-python deprecated clone of msgpack.
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Jan 9, 2018
1 parent ab66c27 commit 5be9378
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 36 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ MessagePack for Python
:target: https://msgpack-python.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

Upgrading from msgpack-0.4
--------------------------
IMPORTANT: Upgrading from msgpack-0.4
--------------------------------------

TL;DR: When upgrading from msgpack-0.4 or earlier, don't do `pip install -U msgpack-python`.
Do `pip uninstall msgpack-python; pip install msgpack` instead.
Expand Down
2 changes: 0 additions & 2 deletions dummy/README

This file was deleted.

31 changes: 0 additions & 31 deletions dummy/setup.py

This file was deleted.

11 changes: 10 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

from distutils.command.build_ext import build_ext

# for building transitional package.
TRANSITIONAL = False

class NoCython(Exception):
pass

Expand Down Expand Up @@ -102,7 +105,13 @@ def __init__(self, *args, **kwargs):
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,
Expand Down

0 comments on commit 5be9378

Please sign in to comment.