refactor the build system to avoid generating .py[co] files in the source tree (which WAF doesn't like)

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2007-06-02 15:02:23 +01:00
1 parent c501e5ba9b
commit 67843fa924
6 files changed
+49 -74

No files matched your search

+4
View File
@@ -8,6 +8,10 @@ import os
import pproc as subprocess
import shutil
os.environ['PYTHONPATH'] = os.path.join(os.getcwd(), 'build', 'default')
def get_version_from_bzr():
import bzrlib.tag, bzrlib.branch
branch = bzrlib.branch.Branch.open('file://' + os.getcwd())