title: Installing pyuno (LibreOffice) for private Python build
body: <p>There are a few related threads about this topic <a href="https://stackoverflow.com/questions/7784438/how-do-you-install-or-activate-pyuno-in-libreoffice">here</a> ad <a href="https://stackoverflow.com/questions/4270962/using-pyuno-with-my-existing-python-installation">here</a> but they seem a bit dated.</p>
  
  <p>I just downloaded LibreOffice 4 which has a Python 3.3.0 built in.  Using that Python I can import and use UNO just fine, and control Office from my Python script.  However, many of my other modules are missing from that Python—and UNO is the only one missing from my Python.</p>
  
  <p>Is there any way that I can install pyuno for my local Python?  The LibreOffice source tree includes a pyuno/ source tree, but I'm not sure how to go about building/integrating this into another Python tree.</p>
  
  <p>Any experiences here?  Help?  Hints?  Dos, Don'ts, Dohs?</p>
  
  <p><strong>EDIT</strong> The <a href="https://stackoverflow.com/questions/15223209/installing-pyuno-libreoffice-for-private-python-build#19158549">answer below</a> works just fine for Linux, and I have no problem there extending the <code>PYTHONPATH</code> to import uno. Matters are different on the Mac, so take a look at <a href="https://stackoverflow.com/questions/15223209/installing-pyuno-libreoffice-for-private-python-build#27975796">the other answer</a>.</p>
  
  <p><strong>EDIT</strong> Absolutely take <a href="https://stackoverflow.com/questions/15223209/installing-pyuno-libreoffice-for-private-python-build/28593413#28593413">this anwer</a> into consideration when tinkering with Python paths!</p>