Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
import sys, os
source_dir = os.path.realpath(sys.argv[1])
target_dir = os.path.realpath(sys.argv[2])
"""
This function merges the source directory to target directory as symlinks
@Author: Israel D. Canasa (http://israelcanasa.com)
@ercanozkaya
ercanozkaya / packager.py
Created October 5, 2010 22:00
A packager for Joomla extensions
import sys, os, shutil, glob, zipfile
from xml.etree.ElementTree import ElementTree
class Packager:
temp = 'temp'
def __init__(self):
pass
def package(self, manifest_path):
self.manifest_path = manifest_path