source: products/quintagroup.themetemplate/trunk/quintagroup/themetemplate/templates/qplone3_theme/setup.py_tmpl @ 3221

Last change on this file since 3221 was 3221, checked in by mylan, 8 years ago

Added z3c.autoinclude.plugin entrypoint in setup.py_tmpl of the main template, little reorganization according to last changes of ZopeSkel?'s plone template

File size: 1.8 KB
Line 
1# -*- coding: utf-8 -*-
2"""
3This module contains the tool of $project
4"""
5import os
6from setuptools import setup, find_packages
7
8def read(*rnames):
9    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
10
11version = ${repr($version) or "0.0.0"}
12
13tests_require=['zope.testing']
14
15setup(name=${repr($project)},
16      version=version,
17      description="${description or None}",
18      long_description=open("README.txt").read() + "\n" +
19                       open(os.path.join("docs", "HISTORY.txt")).read(),
20      # Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
21      classifiers=[
22        'Framework :: Plone',
23        'Intended Audience :: Developers',
24        'Topic :: Software Development :: Libraries :: Python Modules',
25        #from zopeskel.base import LICENSE_CATEGORIES
26        #if $license_name.strip() in $LICENSE_CATEGORIES
27        $repr($LICENSE_CATEGORIES[$license_name.strip()]),
28        #end if
29        ],
30      keywords=${repr($keywords) or $empty},
31      author=${repr($author) or $empty},
32      author_email=${repr($author_email) or $empty},
33      url=${repr($url) or $empty},
34      license=${repr($license_name) or $empty},
35      packages=find_packages(exclude=['ez_setup']),
36      namespace_packages=['$namespace_package', '$namespace_package.$namespace_package2',],
37      include_package_data=True,
38      zip_safe=${repr(bool($zip_safe)) or False},
39      tests_require=tests_require,
40      extras_require=dict(tests=tests_require),
41      test_suite = '$namespace_package.$namespace_package2.${package}.tests',
42      install_requires=[
43          'setuptools',
44          # -*- Extra requirements: -*-
45      ],
46      entry_points="""
47      # -*- Entry points: -*-
48
49      [z3c.autoinclude.plugin]
50      target = plone
51      """,
52      setup_requires=["PasteScript"],
53      paster_plugins=["ZopeSkel"],
54      )
Note: See TracBrowser for help on using the repository browser.