setup.py: fix some documentation typos
authorMatt Harbison <matt_harbison@yahoo.com>
Sat, 18 Dec 2021 20:56:52 -0500
changeset 48539 23ce9e7bf1e5
parent 48538 4afb9627dc77
child 48540 da38519cbd10
setup.py: fix some documentation typos Differential Revision: https://phab.mercurial-scm.org/D11944
setup.py
--- a/setup.py	Fri Dec 17 14:15:08 2021 +0100
+++ b/setup.py	Sat Dec 18 20:56:52 2021 -0500
@@ -209,7 +209,7 @@
 from distutils.sysconfig import get_python_inc, get_config_var
 from distutils.version import StrictVersion
 
-# Explain to distutils.StrictVersion how our release candidates are versionned
+# Explain to distutils.StrictVersion how our release candidates are versioned
 StrictVersion.version_re = re.compile(r'^(\d+)\.(\d+)(\.(\d+))?-?(rc(\d+))?$')
 
 
@@ -597,8 +597,8 @@
                 e for e in self.extensions if e.name != 'mercurial.zstd'
             ]
 
-        # Build Rust standalon extensions if it'll be used
-        # and its build is not explictely disabled (for external build
+        # Build Rust standalone extensions if it'll be used
+        # and its build is not explicitly disabled (for external build
         # as Linux distributions would do)
         if self.distribution.rust and self.rust:
             if not sys.platform.startswith('linux'):
@@ -1502,7 +1502,7 @@
                 raise RustCompilationError("Cargo not found")
             elif exc.errno == errno.EACCES:
                 raise RustCompilationError(
-                    "Cargo found, but permisssion to execute it is denied"
+                    "Cargo found, but permission to execute it is denied"
                 )
             else:
                 raise