# -*- 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)

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 ('publications', 'conferences', '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',
      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'),
      package_dir = package_dir,
      package_data = package_data,
      scripts = ['bin/git-cms-load-content'],
      test_suite = 'nose.collector',
      )



# -*- 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)

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 ('publications', 'conferences', '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.1',
      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'),
      package_dir = package_dir,
      package_data = package_data,
      scripts = ['bin/git-cms-load-content'],
      test_suite = 'nose.collector',
      )



Bump the version number.