Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 51 lines (48 sloc) 1.744 kb
97bda4d Horst Gutmann Only use install_requires if setuptools/distribute is available
authored
1 try:
2 from setuptools import setup
3 kws = {'install_requires': ['Django']}
4 except:
5 from distutils.core import setup
6 kws = {}
7
2aed52b Michael Greene setup.py uses ez_setup as added in c18b79bd if setuptools is not install...
euphoria authored
8
031530b Alexander Artemenko Packaging with setuptools.
svetlyak40wt authored
9 setup(
2855f80 Horst Gutmann Removed buildout support and moved to distutils
authored
10 name='django-flatblocks',
a5b5af8 Alexander Ovchinnikov Added Django 1.6 & Python 3 support
lorddaedra authored
11 version='0.8',
2855f80 Horst Gutmann Removed buildout support and moved to distutils
authored
12 description='django-flatblocks acts like django.contrib.flatpages but '
13 'for parts of a page; like an editable help box you want '
14 'show alongside the main content.',
15 long_description=open('README.rst').read(),
16 keywords='django apps',
17 license='New BSD License',
18 author='Horst Gutmann',
19 author_email='zerok@zerokspot.com',
20 url='http://github.com/zerok/django-flatblocks/',
21 classifiers=[
031530b Alexander Artemenko Packaging with setuptools.
svetlyak40wt authored
22 'Development Status :: 3 - Alpha',
23 'Environment :: Plugins',
a5b5af8 Alexander Ovchinnikov Added Django 1.6 & Python 3 support
lorddaedra authored
24 'Environment :: Web Environment',
031530b Alexander Artemenko Packaging with setuptools.
svetlyak40wt authored
25 'Framework :: Django',
26 'Intended Audience :: Developers',
27 'License :: OSI Approved :: BSD License',
a5b5af8 Alexander Ovchinnikov Added Django 1.6 & Python 3 support
lorddaedra authored
28 'Operating System :: OS Independent',
031530b Alexander Artemenko Packaging with setuptools.
svetlyak40wt authored
29 'Programming Language :: Python',
a5b5af8 Alexander Ovchinnikov Added Django 1.6 & Python 3 support
lorddaedra authored
30 'Programming Language :: Python :: 2',
31 'Programming Language :: Python :: 2.6',
32 'Programming Language :: Python :: 2.7',
33 'Programming Language :: Python :: 3',
34 'Programming Language :: Python :: 3.3',
031530b Alexander Artemenko Packaging with setuptools.
svetlyak40wt authored
35 'Topic :: Software Development :: Libraries :: Python Modules',
a5b5af8 Alexander Ovchinnikov Added Django 1.6 & Python 3 support
lorddaedra authored
36 'Topic :: Internet :: WWW/HTTP',
37 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
031530b Alexander Artemenko Packaging with setuptools.
svetlyak40wt authored
38 ],
2855f80 Horst Gutmann Removed buildout support and moved to distutils
authored
39 packages=['flatblocks', 'flatblocks.management',
40 'flatblocks.management.commands', 'flatblocks.migrations',
41 'flatblocks.templatetags'],
e0dd810 Horst Gutmann Fixes a bug in the setup.py file. Resolves #17.
authored
42 package_data={
43 'flatblocks': [
44 'templates/flatblocks/*.html',
45 'locale/*/*/*.mo',
46 'locale/*/*/*.po',
47 ]
a5b5af8 Alexander Ovchinnikov Added Django 1.6 & Python 3 support
lorddaedra authored
48 },
97bda4d Horst Gutmann Only use install_requires if setuptools/distribute is available
authored
49 **kws
031530b Alexander Artemenko Packaging with setuptools.
svetlyak40wt authored
50 )
Something went wrong with that request. Please try again.