old_contents: # -*- coding: utf-8 -*-
  # Copyright (C) 2008-2010, Luis Pedro Coelho <lpc@cmu.edu>
  # vim: set ts=4 sts=4 sw=4 expandtab smartindent:
  # Licence : Affero GPL v3 or later
  
  from __future__ import division
  from sys import exit
  try:
      import setuptools
  except:
      print '''
  setuptools not found. Please install it.
  
  On linux, the package is often called python-setuptools'''
      exit(1)
  
  requires = [
      'django',
      'pyyaml',
      'poster',
      'docutils',
      ]
  
  long_description = '''\
  =======
  Git CMS
  =======
  A content management system based on git
  ----------------------------------------
  
  This is a simple content management system where all the data
  is stored in text files, making it easy to manage them with git.
  '''
  
  classifiers = [
      'Development Status :: 4 - Beta',
      'Environment :: Other Environment',
      'Framework :: Django',
      'Programming Language :: Python',
      'License :: OSI Approved :: GNU Affero General Public License v3',
  ]
  
  package_dir = {}
  package_data = {}
  for subpackage in ('conferences', 'blog', 'simplecms', 'simplemenus', 'books'):
      package_dir['gitcms.' + subpackage] = 'gitcms/' + subpackage
      package_data['gitcms.' + subpackage] = ['templates/%s/*.html' % subpackage]
  
  
  setuptools.setup(name = 'django-gitcms',
        version = '0.2.9-git',
        description = 'Django Git CMS: A django based git-backed content management system',
        long_description = long_description,
        author = 'Luis Pedro Coelho',
        author_email = 'lpc@cmu.edu',
        license = 'MIT',
        platforms = ['Any'],
        classifiers = classifiers,
        url = 'http://luispedro.org/software/git-cms',
        packages = setuptools.find_packages(exclude=['tests', 'example-website']),
        package_dir = package_dir,
        package_data = package_data,
        scripts = ['bin/git-cms-load-content'],
        test_suite = 'nose.collector',
        requires = requires,
        )
  
  
  
new_contents: # -*- coding: utf-8 -*-
  # Copyright (C) 2008-2010, Luis Pedro Coelho <lpc@cmu.edu>
  # vim: set ts=4 sts=4 sw=4 expandtab smartindent:
  # Licence : Affero GPL v3 or later
  
  from __future__ import division
  from sys import exit
  try:
      import setuptools
  except:
      print '''
  setuptools not found. Please install it.
  
  On linux, the package is often called python-setuptools'''
      exit(1)
  
  requires = [
      'django',
      'pyyaml',
      'poster',
      'docutils',
      ]
  
  long_description = '''\
  =======
  Git CMS
  =======
  A content management system based on git
  ----------------------------------------
  
  This is a simple content management system where all the data
  is stored in text files, making it easy to manage them with git.
  '''
  
  classifiers = [
      'Development Status :: 4 - Beta',
      'Environment :: Other Environment',
      'Framework :: Django',
      'Programming Language :: Python',
      'License :: OSI Approved :: GNU Affero General Public License v3',
  ]
  
  package_dir = {}
  package_data = {}
  for subpackage in ('conferences', 'blog', 'simplecms', 'simplemenus', 'books', 'publications'):
      package_dir['gitcms.' + subpackage] = 'gitcms/' + subpackage
      package_data['gitcms.' + subpackage] = ['templates/%s/*.html' % subpackage]
  
  
  setuptools.setup(name = 'django-gitcms',
        version = '0.2.9-git',
        description = 'Django Git CMS: A django based git-backed content management system',
        long_description = long_description,
        author = 'Luis Pedro Coelho',
        author_email = 'lpc@cmu.edu',
        license = 'MIT',
        platforms = ['Any'],
        classifiers = classifiers,
        url = 'http://luispedro.org/software/git-cms',
        packages = setuptools.find_packages(exclude=['tests', 'example-website']),
        package_dir = package_dir,
        package_data = package_data,
        scripts = ['bin/git-cms-load-content'],
        test_suite = 'nose.collector',
        requires = requires,
        )
  
  
  
subject: Install publication data