#!/usr/bin/env python # -*- coding: utf-8 -*- """ PyLucid distutils setup ~~~~~~~~~~~~~~~~~~~~~~~ FIXME: This setup.py only testet to submit PyLucid to PyPi! Last commit info: ~~~~~~~~~~~~~~~~~ $LastChangedDate: $ $Rev: $ $Author: $ :copyright: 2007-2008 by Jens Diemer :license: GNU GPL v3, see LICENSE for more details. """ import os, sys from dev_scripts import ez_setup sys.path.insert(0, os.path.join(os.getcwd(), "pylucid_project")) from PyLucid import PYLUCID_VERSION_STRING ez_setup.use_setuptools() from setuptools import setup, Feature def get_authors(): authors = [] f = file("AUTHORS", "r") for line in f: if line.startswith('*'): authors.append(line[1:].strip()) f.close() return authors def get_long_description(): f = file("README", "r") long_description = f.read() f.close() long_description.strip() return long_description setup( name = "PyLucid", version = PYLUCID_VERSION_STRING, url = 'http://www.pylucid.org/', download_url = "http://sourceforge.net/project/showfiles.php?group_id=146328", license='GPL', author = get_authors(), maintainer = "Jens Diemer", description = 'A CMS written in PyLucid using django.', long_description = get_long_description(), keywords = 'cms django wsgi web', platforms = 'any', zip_safe = False, # PyLucid can't be run from a zip file include_package_data = True, package_data = { '': [ '*.html', '*.htm', '*.css', '*.js', '*.txt', '*.gif', '*.jpg', '*.cgi', '*.fcgi', '*.sh', '*.cmd', '.htaccess', ], }, exclude_package_data = {'': ['setup.py']}, scripts = [ "pylucid_project/django-admin.sh", "pylucid_project/standalone_linux.sh" ], classifiers = [ "Development Status :: 4 - Beta", "Development Status :: 5 - Production/Stable", "Environment :: Console", "Environment :: Web Environment", "Framework :: TurboGears", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License (GPL)", "Natural Language :: German", "Programming Language :: JavaScript", "Programming Language :: Python", "Programming Language :: SQL", "Topic :: Database :: Front-Ends", "Topic :: Documentation", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: Site Management", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", "Operating System :: OS Independent", ] )