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

Last change on this file since 1357 was 1357, checked in by mylan, 10 years ago

#108: Refactored theme vars storage, some cleanup

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      install_requires=['setuptools',
40                        # -*- Extra requirements: -*-
41                        ],
42      tests_require=tests_require,
43      extras_require=dict(tests=tests_require),
44      test_suite = '$namespace_package.$namespace_package2.${package}.tests',
45      entry_points="""
46      # -*- entry_points -*- #
47      """,
48      paster_plugins = ["ZopeSkel",],
49      setup_requires = ["setuptools",],
50      )
Note: See TracBrowser for help on using the repository browser.