Commits

Arfrever Frehtes Taifersar Arahesis  committed ba50f98

Issue 294: Allow to run setup.py from another directory.

  • Participants
  • Parent commits da2848d

Comments (0)

Files changed (1)

 import os
 import textwrap
 
+# Allow to run setup.py from another directory.
+os.chdir(os.path.dirname(os.path.abspath(__file__)))
+
 src_root = None
 if sys.version_info >= (3,):
     tmp_src = os.path.join("build", "src")