473,503 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python application distribution


I haven't figured out a way to do this but see no reason why it cannot be
done. I have a decent size application written in 100% Python. I would
like to distribute this application, but only the .pyc files. Since the
..pyc's are just the compiled sources I figured it would work, but if I copy
just the pyc's and my main app's py into a directory by themselves, I'm
unable to execute. Why is this? At this point I'm not really keen on
handing out the source files to my application, it feels unprofessional.

Thanks,
Ron
--
View this message in context: http://www.nabble.com/Python-applica...p16993351.html
Sent from the Python - python-list mailing list archive at Nabble.com.

Jun 27 '08 #1
4 1141
I haven't figured out a way to do this but see no reason why it cannot be
done. I have a decent size application written in 100% Python. I would
like to distribute this application, but only the .pyc files. Since the
.pyc's are just the compiled sources I figured it would work, but if I copy
just the pyc's and my main app's py into a directory by themselves, I'm
unable to execute. Why is this?
This should work fine. What precisely are you doing to execute it, and
how precisely does it fail?
At this point I'm not really keen on
handing out the source files to my application, it feels unprofessional.
I don't consider it unprofessional. If the software is packaged that
the end user readily notices the difference - that's unprofessional.
IOW, unless the user browsers your app's directory, he shouldn't even
have to know that the application is written in Python.

Regards,
Martin
Jun 27 '08 #2
The syllable link at the bottem is not currently working.
The site itself is still alive and distributing 2.5.1
terry

Jun 27 '08 #3
ron.longo wrote:
unable to execute. Why is this? At this point I'm not really keen on
handing out the source files to my application, it feels unprofessional.
If you plan to deploy on windows, py2exe could be the more
"professional" approach you are thinking of.
Jun 27 '08 #4
ron.longo wrote:
unable to execute. Why is this? At this point I'm not really keen on
handing out the source files to my application, it feels unprofessional.
If you plan to deploy on windows, py2exe could be the more
"professional" approach you are thinking of.
Jun 27 '08 #5

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

Similar topics

4
3825
by: Logan | last post by:
Several people asked me for the following HOWTO, so I decided to post it here (though it is still very 'alpha' and might contain many (?) mistakes; didn't test what I wrote, but wrote it - more or...
12
1789
by: John Burton | last post by:
One of the reasons I like python so much is that the standard installation comes with a whole lot of libraries to do lots of useful things but there seem to be a few things missing from the...
6
2949
by: uri bushey | last post by:
I have a Python program that is built on an infrastructure of quite a few other programs, but I would like to create a standalone nonetheless. It doesn't necesarily have to be its own executable,...
2
2851
by: Roose | last post by:
With some googling I have found these resources: http://docs.python.org/ext/win-dlls.html http://www.python.org/doc/faq/windows.html I have a large Win32/MFC/C/C++ application that has an...
68
5774
by: Lad | last post by:
Is anyone capable of providing Python advantages over PHP if there are any? Cheers, L.
217
8940
by: gyromagnetic | last post by:
The following url points to an article written by Damian Conway entitled "Ten Essential Development Practices": http://www.perl.com/pub/a/2005/07/14/bestpractices.html Althought the article has...
13
2038
by: Ramza Brown | last post by:
This is kind of funny, I posted earlier about a small, light python distro. The thing is, I did it in an hour or so, but amazingly, I got responses from everywhere asking for support on how to do...
16
3758
by: Jaco Naude | last post by:
Hi there, This is my first post over here and I hope someone can give me some guidance. I'm trying to embed Python into a Visual C++ 2008 application and I'm getting linker problems. I've...
0
1383
by: eGenix Team: M.-A. Lemburg | last post by:
________________________________________________________________________ ANNOUNCING eGenix.com mx Base Distribution Version 3.1.1 for Python 2.6 Open Source Python extensions providing...
0
7199
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7274
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,...
1
6984
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7453
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...
0
5576
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5005
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3151
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
732
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
377
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.