Fix typo in a setup.py comment

authorDimitri Papadopoulos <dimitri.papadopoulos@cea.fr>
changeset6e2244784b7d
branchdefault
phasepublic
hiddenno
parent revision#b0dd5b57d2d8 [dataimport, migration] more fixes in the spirit of a6c32edabc8d:
child revision#3338b2205ea3 Typo in comments and error messages
files modified by this revision
setup.py
skeleton/setup.py
# HG changeset patch
# User Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr>
# Date 1392300667 -3600
# Thu Feb 13 15:11:07 2014 +0100
# Node ID 6e2244784b7d865681bf09cda1194d6edce565cd
# Parent b0dd5b57d2d84725eaf25820f45eca0146bc91cc
Fix typo in a setup.py comment

diff --git a/setup.py b/setup.py
@@ -186,11 +186,11 @@
1              if self.install_dir.endswith('egg'):
2                  self.install_dir = sys.prefix
3              MyInstallMoreData.run(self)
4              self.install_dir = _old_install_dir
5      try:
6 -        import setuptools.command.easy_install # only if easy_install avaible
7 +        import setuptools.command.easy_install # only if easy_install available
8          # monkey patch: Crack SandboxViolation verification
9          from setuptools.sandbox import DirectorySandbox as DS
10          old_ok = DS._ok
11          def _ok(self, path):
12              """Return True if ``path`` can be written during installation."""
diff --git a/skeleton/setup.py b/skeleton/setup.py
@@ -148,11 +148,11 @@
13              if self.install_dir.endswith('egg'):
14                  self.install_dir = sys.prefix
15              old_install_data.run(self)
16              self.install_dir = _old_install_dir
17      try:
18 -        import setuptools.command.easy_install # only if easy_install avaible
19 +        import setuptools.command.easy_install # only if easy_install available
20          # monkey patch: Crack SandboxViolation verification
21          from setuptools.sandbox import DirectorySandbox as DS
22          old_ok = DS._ok
23          def _ok(self, path):
24              """Return True if ``path`` can be written during installation."""