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

--HG--
branch : distribute
extra : rebase_source : 9219c67abb5791b37822fd67c224a537628c54b9
parent d169177b
...@@ -4,6 +4,9 @@ import sys ...@@ -4,6 +4,9 @@ import sys
import os import os
import textwrap import textwrap
# Allow to run setup.py from another directory.
os.chdir(os.path.dirname(os.path.abspath(__file__)))
src_root = None src_root = None
if sys.version_info >= (3,): if sys.version_info >= (3,):
tmp_src = os.path.join("build", "src") tmp_src = os.path.join("build", "src")
......
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