Chilkat for Python MAC OS X Install Instructions
Download
Python 2.6 (i386 / x86_64) chilkat-9.3.1-python-2.6-macosx-10.6-intel.tar.gz
MacPython 3.2 (i386 / x86_64) chilkat-9.3.1-macpython-3.2-macosx-10.6-intel.tar.gz
MacPython 3.1 (i386 / x86_64) chilkat-9.3.1-macpython-3.1-macosx-10.6-intel.tar.gz
MacPython 3.0 (i386 / x86_64) chilkat-9.3.1-macpython-3.0-macosx-10.6-intel.tar.gz
MacPython 2.7 (i386 / x86_64) chilkat-9.3.1-macpython-2.7-macosx-10.6-intel.tar.gz
MacPython 2.6 (i386 / x86_64) chilkat-9.3.1-macpython-2.6-macosx-10.6-intel.tar.gz
Python Examples: Chilkat Python Examples
Install Instructions
Login as root, move the .tar.gz to the filesystem root directory ("/") and unpack:
su
cd /
gzip -d chilkat-9.3.1-macpython-3.2-macosx-10.6-intel.tar.gz
tar -xf chilkat-9.3.1-macpython-3.2-macosx-10.6-intel.tar
That's all. However, please read the information below to find out where the files are unpacked. If your Python install prefix is different (sys.prefix) you may need to copy the files to the correct directory matching your install prefix.
Unpack Directories
chilkat-9.3.1-python-2.6-macosx-10.6-intel.tar.gz unpacks to:
/Library/Python/2.6/site-packages/_chilkat.so
/Library/Python/2.6/site-packages/chilkat.py
/Library/Python/2.6/site-packages/chilkat-9.3.1.egg-info
chilkat-9.3.1-macpython-3.2-macosx-10.6-intel.tar.gz unpacks to:
/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/_chilkat.so
/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/chilkat.py
chilkat-9.3.1-macpython-3.1-macosx-10.6-intel.tar.gz unpacks to:
/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/site-packages/_chilkat.so
/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/site-packages/chilkat.py
chilkat-9.3.1-macpython-3.0-macosx-10.6-intel.tar.gz unpacks to:
/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/site-packages/_chilkat.so
/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/site-packages/chilkat.py
chilkat-9.3.1-macpython-2.7-macosx-10.6-intel.tar.gz unpacks to:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/_chilkat.so
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/chilkat.py
chilkat-9.3.1-macpython-2.6-macosx-10.6-intel.tar.gz unpacks to:
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/_chilkat.so
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/chilkat.py
Run a Test Script
Download and run this Python test script to ensure the Chilkat objects can be created:
testChilkat.py
* To download, click on the link and then select "Save Page As" in your browser's File menu.
The testChilkat.py contains the following Python code:
import chilkat
# Create some Chilkat objects and print the versions
zip = chilkat.CkZip()
print("Zip: " + zip.version())
imap = chilkat.CkImap()
print("IMAP: " + imap.version())
ftp = chilkat.CkFtp2()
print("FTP: " + ftp.version())
mailman = chilkat.CkMailMan()
print("POP3/SMTP: " + mailman.version())
ssh = chilkat.CkSsh()
print("SSH: " + ssh.version())
sftp = chilkat.CkSFtp()
print("SFTP: " + sftp.version())
rsa = chilkat.CkRsa()
print("RSA: " + rsa.version())
http = chilkat.CkHttp()
print("RSA: " + http.version())
crypt = chilkat.CkCrypt2()
print("Crypt: " + crypt.version())
xml = chilkat.CkXml()
print("XML: " + xml.version())
sock = chilkat.CkSocket()
print("Socket/SSL/TLS: " + sock.version())
tar = chilkat.CkTar()
print("TAR: " + tar.version())
|