469,898 Members | 2,144 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,898 developers. It's quick & easy.

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 971
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Logan | last post: by
12 posts views Thread by John Burton | last post: by
6 posts views Thread by uri bushey | last post: by
2 posts views Thread by Roose | last post: by
68 posts views Thread by Lad | last post: by
217 posts views Thread by gyromagnetic | last post: by
13 posts views Thread by Ramza Brown | last post: by
16 posts views Thread by Jaco Naude | last post: by
reply views Thread by eGenix Team: M.-A. Lemburg | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.