setup.py 1.24 KB
Newer Older
1
from setuptools import setup, find_packages
2
import os
3

Julien Muchembled's avatar
Julien Muchembled committed
4
version = '5.0'
5
name = 'slapos.recipe.template'
6 7 8 9 10
long_description = '\n'.join((open(path).read() for path in (
    "README.rst",
    os.path.join('slapos', 'recipe', 'template', "README.txt"),
    os.path.join('slapos', 'recipe', 'template', "README.jinja2.txt"),
    "CHANGELOG.rst")))
11 12 13

setup(name=name,
      version=version,
14
      description="Templating recipe with remote resource support.",
15 16 17 18
      long_description=long_description,
      classifiers=[
          "Framework :: Buildout :: Recipe",
          "Programming Language :: Python",
Vincent Pelletier's avatar
Vincent Pelletier committed
19
      ],
20 21 22 23 24 25
      keywords='slapos recipe',
      license='GPLv3',
      namespace_packages=['slapos', 'slapos.recipe'],
      packages=find_packages(),
      include_package_data=True,
      install_requires=[
Vincent Pelletier's avatar
Vincent Pelletier committed
26
          'setuptools', # namespaces
27
          'six',
Vincent Pelletier's avatar
Vincent Pelletier committed
28
          'zc.buildout', # plays with buildout
29
          'jinja2>=2.7',
Vincent Pelletier's avatar
Vincent Pelletier committed
30
      ],
Julien Muchembled's avatar
Julien Muchembled committed
31 32 33
      tests_require=[
          'zope.testing',
      ],
34 35
      zip_safe=True,
      entry_points={
Vincent Pelletier's avatar
Vincent Pelletier committed
36 37
          'zc.buildout': [
              'default = slapos.recipe.template:Recipe',
38
              'jinja2 = slapos.recipe.template.jinja2_template:Recipe',
39
      ]},
40
      test_suite = "slapos.recipe.template.tests.test_suite",
Vincent Pelletier's avatar
Vincent Pelletier committed
41
)