On Jul 3, 11:59 pm, Sumit Bisht <
sumitbisht1...@gmail.com> wrote:
> Hi !
> I am using XLRD to read data in my application. However, I need to
> package the python application into an executable. As the xlrd package
> is well over 1mb and contains many files,
Directory of C:\xlrd\0.7.9_setup\dist\xlrd-0.7.9\xlrd
13/04/2012 11:28 PM 17,505 biffh.py
13/04/2012 11:28 PM 21,288 compdoc.py
13/04/2012 11:28 PM 45,817 formatting.py
16/04/2012 08:18 AM 94,063 formula.py
21/06/2012 08:05 AM 22 info.py
21/10/2011 08:17 PM 3,406 licences.py
21/06/2012 08:00 AM 106,703 sheet.py
21/06/2012 07:59 AM 1,102 timemachine.py
21/10/2011 08:17 PM 6,481 xldate.py
21/06/2012 07:59 AM 76,090 __init__.py
10 File(s) 372,477 bytes
Over 1mb? 10 == many?
> is there any optimum way of
> bundling the library into my application(getting it in pythonpath)
> easily?
Bundling xlrd along with a Python app into an exe is no different to
bundling any other pure-Python library. How you do it depends on what
bundler (py2exe | cxfreeze | PyInstaller) you use. Each bundler has
various options. "Optimum" is your choice. What have you tried?