Solved

What is the jar equivalent in Python?

Posted on 2011-03-22
5
420 Views
Last Modified: 2012-05-11
Hi,
I want our customers to install the app.
What is the jar equivalent in Python? Do you use zip?
Can you sign the zip files with a certificate like jar files?

Thanks
Jamie
0
Comment
Question by:jamie_lynn
  • 3
  • 2
5 Comments
 
LVL 41

Expert Comment

by:HonorGod
ID: 35193501
0
 

Author Comment

by:jamie_lynn
ID: 35194670
Hi Honor

1. I want to install the python package outside of site-packages.
2. sign the file so it is not tampered with.
3. handle install, uninstall, upgrades.

Does python have an archive file that can handle this like jars in Java?

Thanks
Jamie
0
 
LVL 41

Accepted Solution

by:
HonorGod earned 500 total points
ID: 35199813
hm.  I don't know.

If your target is for a Windows system, I would consider looking at using the py2exe module.
0
 

Author Closing Comment

by:jamie_lynn
ID: 35210299
Yah, i think packaging as an executable will work.
cx_Freeze for cross platform too
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 35210344
Thanks for the grade & points.

Good luck & have a super day.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Here I am using Python IDLE(GUI) to write a simple program and save it, so that we can just execute it in future. Because when we write any program and exit from Python then program that we have written will be lost. So for not losing our program we…
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now