Show More
@@ -209,7 +209,7 b' from distutils.errors import (' | |||||
209 | from distutils.sysconfig import get_python_inc, get_config_var |
|
209 | from distutils.sysconfig import get_python_inc, get_config_var | |
210 | from distutils.version import StrictVersion |
|
210 | from distutils.version import StrictVersion | |
211 |
|
211 | |||
212 |
# Explain to distutils.StrictVersion how our release candidates are version |
|
212 | # Explain to distutils.StrictVersion how our release candidates are versioned | |
213 | StrictVersion.version_re = re.compile(r'^(\d+)\.(\d+)(\.(\d+))?-?(rc(\d+))?$') |
|
213 | StrictVersion.version_re = re.compile(r'^(\d+)\.(\d+)(\.(\d+))?-?(rc(\d+))?$') | |
214 |
|
214 | |||
215 |
|
215 | |||
@@ -597,8 +597,8 b' class hgbuildext(build_ext):' | |||||
597 | e for e in self.extensions if e.name != 'mercurial.zstd' |
|
597 | e for e in self.extensions if e.name != 'mercurial.zstd' | |
598 | ] |
|
598 | ] | |
599 |
|
599 | |||
600 | # Build Rust standalon extensions if it'll be used |
|
600 | # Build Rust standalone extensions if it'll be used | |
601 |
# and its build is not explict |
|
601 | # and its build is not explicitly disabled (for external build | |
602 | # as Linux distributions would do) |
|
602 | # as Linux distributions would do) | |
603 | if self.distribution.rust and self.rust: |
|
603 | if self.distribution.rust and self.rust: | |
604 | if not sys.platform.startswith('linux'): |
|
604 | if not sys.platform.startswith('linux'): | |
@@ -1502,7 +1502,7 b' class RustExtension(Extension):' | |||||
1502 | raise RustCompilationError("Cargo not found") |
|
1502 | raise RustCompilationError("Cargo not found") | |
1503 | elif exc.errno == errno.EACCES: |
|
1503 | elif exc.errno == errno.EACCES: | |
1504 | raise RustCompilationError( |
|
1504 | raise RustCompilationError( | |
1505 |
"Cargo found, but permiss |
|
1505 | "Cargo found, but permission to execute it is denied" | |
1506 | ) |
|
1506 | ) | |
1507 | else: |
|
1507 | else: | |
1508 | raise |
|
1508 | raise |
General Comments 0
You need to be logged in to leave comments.
Login now