Commit 1bab2ad5 authored by Marc-André Lemburg's avatar Marc-André Lemburg

Restore Python 2.1 compatibility (os.extsep was introduced in Python 2.2).

parent bdaf729f
...@@ -9,8 +9,10 @@ from distutils.errors import DistutilsOptionError ...@@ -9,8 +9,10 @@ from distutils.errors import DistutilsOptionError
# Extension for Python source files. # Extension for Python source files.
PYTHON_SOURCE_EXTENSION = os.extsep + "py" if hasattr(os, 'extsep'):
PYTHON_SOURCE_EXTENSION = os.extsep + "py"
else:
PYTHON_SOURCE_EXTENSION = ".py"
class install_lib (Command): class install_lib (Command):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment