mirror of
				https://github.com/msgpack/msgpack-python.git
				synced 2025-11-04 03:20:56 +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
				
			
		| 
						 | 
				
			
			@ -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.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,2 +0,0 @@
 | 
			
		|||
This is dummy transition package for msgpak.
 | 
			
		||||
Install msgpack instead of msgpack-python.
 | 
			
		||||
| 
						 | 
				
			
			@ -1,31 +0,0 @@
 | 
			
		|||
from setuptools import setup, Extension
 | 
			
		||||
 | 
			
		||||
long_desc = """\
 | 
			
		||||
msgpack-python is renamed to just msgpack.
 | 
			
		||||
 | 
			
		||||
Install msgpack by ``pip install msgpack``.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
setup(name='msgpack-python',
 | 
			
		||||
      author='INADA Naoki',
 | 
			
		||||
      author_email='songofacandy@gmail.com',
 | 
			
		||||
      version="0.5.0",
 | 
			
		||||
      description="Transition package for msgpack",
 | 
			
		||||
      long_description=long_desc,
 | 
			
		||||
      install_requires=["msgpack>=0.5"],
 | 
			
		||||
      url='http://msgpack.org/',
 | 
			
		||||
      license='Apache 2.0',
 | 
			
		||||
      classifiers=[
 | 
			
		||||
          'Programming Language :: Python :: 2',
 | 
			
		||||
          'Programming Language :: Python :: 2.7',
 | 
			
		||||
          'Programming Language :: Python :: 3',
 | 
			
		||||
          'Programming Language :: Python :: 3.5',
 | 
			
		||||
          'Programming Language :: Python :: 3.6',
 | 
			
		||||
          'Programming Language :: Python :: 3.7',
 | 
			
		||||
          'Programming Language :: Python :: Implementation :: CPython',
 | 
			
		||||
          'Programming Language :: Python :: Implementation :: PyPy',
 | 
			
		||||
          'Intended Audience :: Developers',
 | 
			
		||||
          'License :: OSI Approved :: Apache Software License',
 | 
			
		||||
      ],
 | 
			
		||||
)
 | 
			
		||||
							
								
								
									
										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