Rev 5132: Make sure the 'python-fastimport' package gets bundled with the py2exe code. in http://bazaar.launchpad.net/~jameinel/bzr/2.2-win32-include-fastimport-package

John Arbash Meinel john at arbash-meinel.com
Wed May 25 12:12:23 UTC 2011


At http://bazaar.launchpad.net/~jameinel/bzr/2.2-win32-include-fastimport-package

------------------------------------------------------------
revno: 5132
revision-id: john at arbash-meinel.com-20110525121219-xlim12m2ayqflpl2
parent: pqm at pqm.ubuntu.com-20110521205014-3n765a7c4mjyhxnc
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.2-win32-include-fastimport-package
timestamp: Wed 2011-05-25 14:12:19 +0200
message:
  Make sure the 'python-fastimport' package gets bundled with the py2exe code.
-------------- next part --------------
=== modified file 'setup.py'
--- a/setup.py	2010-12-02 09:23:10 +0000
+++ b/setup.py	2011-05-25 12:12:19 +0000
@@ -468,6 +468,12 @@
     packages.append('sqlite3')
 
 
+def get_fastimport_py2exe_info(includes, excludes, packages):
+    # This is the python-fastimport package, not to be confused with the
+    # bzr-fastimport plugin.
+    packages.append('fastimport')
+
+
 if 'bdist_wininst' in sys.argv:
     def find_docs():
         docs = []
@@ -660,6 +666,9 @@
     if 'svn' in plugins:
         get_svn_py2exe_info(includes, excludes, packages)
 
+    if 'fastimport' in plugins:
+        get_fastimport_py2exe_info(includes, excludes, packages)
+
     if "TBZR" in os.environ:
         # TORTOISE_OVERLAYS_MSI_WIN32 must be set to the location of the
         # TortoiseOverlays MSI installer file. It is in the TSVN svn repo and



More information about the bazaar-commits mailing list