Re: packaging python code

2017-05-09 Thread Nathan Ernst
I've used bbfreeze on linux, but that's been ~8 years ago. Don't know about the current state of the project. Regards, Nate On Tue, May 9, 2017 at 9:42 PM, MrJean1 wrote: > > > Is there any way to pack my .py with all required libraries and create a > self running package? Something like buildi

Re: packaging python code

2017-05-09 Thread MrJean1
> Is there any way to pack my .py with all required libraries and create a self > running package? Something like building exe file with static libraries. > Therefore, the user won't install any thing manually. Try Py2exe to create a standalone .exe file (but for Windo

Re: packaging python code

2017-05-08 Thread Mahmood Naderan via Python-list
OK. I did that but it fails! Please see the stack D:\ThinkPad\Documents\NetBeansProjects\ExcelTest>pyinstaller exread.py 96 INFO: PyInstaller: 3.2.1 96 INFO: Python: 3.6.1 98 INFO: Platform: Windows-10-10.0.14393-SP0 103 INFO: wrote D:\ThinkPad\Documents\NetBeansProjects\ExcelTest\exread.spec

Re: packaging python code

2017-05-08 Thread Lutz Horn
Is there any way to pack my .py with all required libraries and create a self running package? Take a look at PyInstaller: * http://www.pyinstaller.org/ * https://pyinstaller.readthedocs.io/en/stable/ Lutz -- https://mail.python.org/mailman/listinfo/python-list

packaging python code

2017-05-08 Thread Mahmood Naderan via Python-list
Hi, I have simple piece of code which uses two libraries (numpy and openpyxl). The script is called from another application. Currently, if someone wants to run my program, he has to first install the python completely via its installer. Is there any way to pack my .py with all required librarie

Re: packaging python code in zip file

2010-12-09 Thread Peter Otten
mark jason wrote: > hi, > I have created a python app in eclipse pydev .The app is structured as > below.. > > mypackage > |__ __init__.py > |__ driver.py > |__ helper.py > |__ utils.py > > The driver.py has the main program.I have added if > __name__=="__main__" block in

Re: packaging python code in zip file

2010-12-09 Thread Nitin Pawar
have u tried using setuptools and distutils they are used for python package distributions On Thu, Dec 9, 2010 at 5:02 PM, mark jason wrote: > hi, > I have created a python app in eclipse pydev .The app is structured as > below.. > > mypackage > |__ __init__.py > |__ driver.py > |___

packaging python code in zip file

2010-12-09 Thread mark jason
hi, I have created a python app in eclipse pydev .The app is structured as below.. mypackage |__ __init__.py |__ driver.py |__ helper.py |__ utils.py The driver.py has the main program.I have added if __name__=="__main__" block in the driver.py and pydev's run configurat

Re: Pointers on packaging python programs for installation on multiple platforms?

2010-05-19 Thread Tim Golden
On 19/05/2010 03:05, gobnat wrote: I am trying to release my first python program. I would like to be able to create a download which will automatically do stuff like add menu items (eg for KDE, GNOME and Windows). Is there anywhere which explains how to do this? Speaking from the Windows per

Pointers on packaging python programs for installation on multiple platforms?

2010-05-18 Thread gobnat
Hi all I am trying to release my first python program. I would like to be able to create a download which will automatically do stuff like add menu items (eg for KDE, GNOME and Windows). Is there anywhere which explains how to do this? Thanks in advance Brendan -- http://mail.python.org/

packaging python

2005-09-24 Thread J
Hi everyone, I managed to package python for distribution with my app. I made 'dist' using py2exe and everything runs fine except there is no more output from the python interpreter. I redirect the output like so... static PyMethodDef ioMethods[] = { {"output", output, METH_VARARGS, "output"}

Re: packaging python for install.

2005-09-14 Thread J
Hi I found the solution to problem and I just want to document it for the next guy. I did not copy the content of the 'dist' directory created by Py2exe to the folder containing my executable. Changing HKEY_LOCAL_MACHINE\SOFTWARE\PythonCore\. alone did not work for me... maybe I should have foun

packaging python for install.

2005-09-14 Thread J
Hi everyone, I have posted a question on this topic before and already received some useful advice. I am basically trying to package python with an App that embedds the interpretor. I am also including numarray (i.e. I have a #include in my C++ code). However it looks like I have problems with

Re: packaging python for install.

2005-09-12 Thread J
Hi Miki Thx for you reply. I have tried the procedure but I am stuck with python setup.py py2exe --includes mymodule. I get the following error: "ImportError: No module named mymodule" I don't know what mymodule should contain. Basically I want all of python and numarray to be part of the distr

Re: packaging python for install.

2005-09-12 Thread Miki
Hello J, >I have created an App that embedds the python interpreter and I am >now in the process of creating an installer. I am currently linking >python24.lib, but it is only 184k and I suspect that it imports other >dlls... I am also using numarray. Does anyone have any experiences i

Re: packaging python for install.

2005-09-12 Thread Daniel Dittmar
periences in > packaging python with an application in a single installer ? Has that > been done before ? - you need python24.dll (probably in %windir%\system32) - you need some of the *.pyd found in you Pythondir\DLLs. You can use Proces Explorer from www.sysinternals.com to see all the loaded D

packaging python for install.

2005-09-11 Thread J
Hi everyone, I have created an App that embedds the python interpreter and I am now in the process of creating an installer. I am currently linking python24.lib, but it is only 184k and I suspect that it imports other dlls... I am also using numarray. Does anyone have any experiences in packaging