Rev 3515: Updates to allow building with mingw, and to exclude Vista system dlls in http://bzr.arbash-meinel.com/branches/bzr/1.6-dev/setup_vista
John Arbash Meinel
john at arbash-meinel.com
Wed Jul 2 17:52:17 BST 2008
At http://bzr.arbash-meinel.com/branches/bzr/1.6-dev/setup_vista
------------------------------------------------------------
revno: 3515
revision-id: john at arbash-meinel.com-20080702165212-e7nmk0ltr2jkpbs6
parent: pqm at pqm.ubuntu.com-20080630055535-42tx43kb228k4p94
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: setup_vista
timestamp: Wed 2008-07-02 11:52:12 -0500
message:
Updates to allow building with mingw, and to exclude Vista system dlls
-------------- next part --------------
=== modified file 'Makefile'
--- a/Makefile 2008-05-20 09:48:09 +0000
+++ b/Makefile 2008-07-02 16:52:12 +0000
@@ -21,6 +21,7 @@
### Core Stuff ###
PYTHON=python
+PYTHON_BUILDFLAGS=
.PHONY: all clean extensions pyflakes api-docs
@@ -28,7 +29,7 @@
extensions:
@echo "building extension modules."
- $(PYTHON) setup.py build_ext -i
+ $(PYTHON) setup.py build_ext -i $(PYTHON_BUILDFLAGS)
check: docs extensions
$(PYTHON) -Werror -O ./bzr selftest -1v $(tests)
@@ -170,7 +171,7 @@
# make bzr.exe for win32 with py2exe
exe:
@echo *** Make bzr.exe
- $(PYTHON) setup.py build_ext -i -f
+ $(PYTHON) setup.py build_ext -i -f $(PYTHON_BUILDFLAGS)
$(PYTHON) setup.py py2exe > py2exe.log
$(PYTHON) tools/win32/ostools.py copytodir tools/win32/start_bzr.bat win32_bzr.exe
$(PYTHON) tools/win32/ostools.py copytodir tools/win32/bazaar.url win32_bzr.exe
=== modified file 'setup.py'
--- a/setup.py 2008-03-16 00:28:48 +0000
+++ b/setup.py 2008-07-02 16:52:12 +0000
@@ -346,9 +346,12 @@
packs, mods = mf.get_result()
additional_packages.update(packs)
+ # MSWSOCK.dll is a system-specific library, which py2exe accidentally pulls
+ # in on Vista.
options_list = {"py2exe": {"packages": packages + list(additional_packages),
"includes": includes + mods,
"excludes": ["Tkinter", "medusa", "tools"],
+ "dll_excludes": ["MSWSOCK.dll"],
"dist_dir": "win32_bzr.exe",
},
}
More information about the bazaar-commits
mailing list