473,396 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Compiler or stg. to get exe!

Hy!
I have question. After short goggling, I haven't found anything good. So
my question is:
I wrote a program in python and i Get .py files and some .pyc in working
folder. Now i want program tu run under windows, so i need to get exe
files or something.
And what do i need to do to make program for linux. (stg. like .deb package)
Dec 28 '07 #1
2 1234
SMALLp wrote:
Hy!
I have question. After short goggling, I haven't found anything good. So
my question is:
I wrote a program in python and i Get .py files and some .pyc in working
folder. Now i want program tu run under windows, so i need to get exe
files or something.
And what do i need to do to make program for linux. (stg. like .deb package)
py2exe can bundle your files, the Python dll and all its dependencies
into a distributable executable.

It does *not* convert the Python code into an exe.

Christian

Dec 28 '07 #2
SMALLp a écrit :
Hy!
I have question. After short goggling, I haven't found anything good. So
my question is:
I wrote a program in python and i Get .py files and some .pyc in working
folder. Now i want program tu run under windows, so i need to get exe
files or something.
Strictly speaking, you don't *need* this. Now depending on the target
audience of your app, you may want to provide a "black-box" bundle of
your app and all the dependencies, including the python runtime. AFAICT
(not being a Window user), py2exe might be what you're looking for.
And what do i need to do to make program for linux. (stg. like .deb
package)
A debian package (or any other similar stuff) is not a "program", it's
distribution system format. You'll find relevant doc on the related
distribution system. Note that almost each linux distro has it's own
system...

Anyway, since part of your audience may include "power users", don't
forget to also provide either a simpler distrib using either distutils
and/or setuptools (Python Egg):
http://docs.python.org/dist/dist.html
http://peak.telecommunity.com/DevCenter/setuptools
http://peak.telecommunity.com/DevCenter/PythonEggs

HTH
Dec 28 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: | last post by:
I first thought I had some compiler setting wrong in VC# 2003 but it turns out that it has something to do with .NET framework v1.1 itself. If I understand correctly, .NET installer also installs a...
4
by: Christopher M. Lusardi | last post by:
Hello, Can I run the subject line program using CC instead of cc? I attempted to use the "-c" option and it told me things were undefined. Isn't this CC option the same as the cc -c option? ...
9
by: Christo | last post by:
hey im a student about to start a course in c++ at uni, we have been told to obtain a copy of borland c++ 5.01 (not c++ builder) this is just a program with a compiler/linker and development...
8
by: Sebastijan Vacun | last post by:
Does anybody know, if there exists any compiler for C#? like javac compiler for java I want to program in UltraEdit and have just compiler to build a project. Thanks in advance. best...
5
by: fayyaz | last post by:
I need to install C# compiler, could you please help me the steps? I got .net framework installed, because I have been learing ASP.NET on my own.What else needed to be installed, could you send...
7
by: ndessai | last post by:
Hi All, I discovered following issue with the VC 7.1 compiler regarding the backword compatibility. I created a dll (Redirect.dll) which exposes a function and simply writes some text (say...
10
by: Jonathan Wilson | last post by:
Firstly, to get msvcrt.lib, install the .NET framework SDK. The version of msvcrt.lib included there is the exact same one as comes with Visual Studio ..NET 2003. There are some other things that...
2
by: mudge | last post by:
Hi, I'm getting some very strange problems with some C# code. We're running an ASP.NET application on a local server in a DMZ. If I access it using the internal address, the application works...
30
by: lovecreatesbea... | last post by:
K&R says the following in the preface to the first edition, "... the C compiler, and ... are written in C." I'm wondering, does it say even the first / original C compiler was written in C?
87
by: rufus | last post by:
Is there a C-compiler (and for that matter C++ compiler) for windows that can be run from the commmand line?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.