From 468211582c9ea41d2224bc3b73452b3d2d731ecc Mon Sep 17 00:00:00 2001 From: "Jeffrey A. Clark" Date: Fri, 20 Dec 2024 11:38:41 -0500 Subject: [PATCH] Remove easy_install from documentation --- doc/examples/authentication.rst | 2 +- doc/installation.rst | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/doc/examples/authentication.rst b/doc/examples/authentication.rst index b319df814c..a92222bafc 100644 --- a/doc/examples/authentication.rst +++ b/doc/examples/authentication.rst @@ -139,7 +139,7 @@ Unix ~~~~ To authenticate using GSSAPI you must first install the python `kerberos`_ or -`pykerberos`_ module using easy_install or pip. Make sure you run kinit before +`pykerberos`_ module using pip. Make sure you run kinit before using the following authentication methods:: $ kinit mongodbuser@EXAMPLE.COM diff --git a/doc/installation.rst b/doc/installation.rst index dd8eb6ab42..f21a3792ad 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -6,7 +6,7 @@ Installing / Upgrading `_. .. warning:: **Do not install the "bson" package from pypi.** PyMongo comes - with its own bson package; doing "pip install bson" or "easy_install bson" + with its own bson package; doing "pip install bson" installs a third-party package that is incompatible with PyMongo. Installing with pip @@ -134,7 +134,7 @@ Python to fail to build the C extensions if you have Xcode 4 installed. There is a workaround:: # For some Python builds from python.org - $ env ARCHFLAGS='-arch i386 -arch x86_64' python -m easy_install pymongo + $ env ARCHFLAGS='-arch i386 -arch x86_64' python -m pip install pymongo See `http://bugs.python.org/issue11623 `_ for a more detailed explanation. @@ -152,15 +152,9 @@ This may cause C extension builds to fail with an error similar to:: There are workarounds:: # Apple specified workaround for Xcode 5.1 - # easy_install - $ ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future easy_install pymongo - # or pip $ ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install pymongo # Alternative workaround using CFLAGS - # easy_install - $ CFLAGS=-Qunused-arguments easy_install pymongo - # or pip $ CFLAGS=-Qunused-arguments pip install pymongo