#!/usr/bin/python # -*- coding:utf-8;mode:python;mode:font-lock -*- import distutils.core import os try: import py2app except ImportError: pass top = os.path.dirname(__file__) # # Load up the license text # license_filename = os.path.join(top, "LICENSE.txt") assert os.path.isfile(license_filename) license_file = file(license_filename) try: license = license_file.read() finally: license_file.close() # # Run setup # distutils.core.setup ( name = "Super Spiffy Templates", description = "Super Spiffy Templates: Streaming component-based template rendering.", version = "0.1", author = "Wilfredo Sánchez Vega", author_email = "wsanchez@wsanchez.net", license = license, scripts = [ "bin/spiffy" ], packages = [ "spiffy", "spiffy/component", "spiffy/util", ], long_description = "Super Spiffy is a templating engine.", )