#!/usr/bin/env python from distutils.core import setup from distutils.command.install import INSTALL_SCHEMES import os import iadmin NAME = 'django-iadmin' VERSION = RELEASE = iadmin.get_version() for scheme in INSTALL_SCHEMES.values(): scheme['data'] = scheme['purelib'] packages, data_files = [], [] root_dir = os.path.dirname(__file__) if root_dir != '': os.chdir(root_dir) def fullsplit(path, result=None): """ Split a pathname into components (the opposite of os.path.join) in a platform-neutral way. """ if result is None: result = [] head, tail = os.path.split(path) if head == '': return [tail] + result if head == path:
# The encoding of source files. #source_encoding = 'utf-8-sig' # The master toctree document. master_doc = 'index' # General information about the project. project = u'django-iadmin' copyright = u'2011, sax' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. version = iadmin.get_version(short=True) # The full version, including alpha/beta/rc tags. release = iadmin.get_version(short=True) next_version = '0.1.9' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. #today_fmt = '%B %d, %Y' # List of patterns, relative to source directory, that match files and