setup.py 1.6 KB
Newer Older
1 2
from setuptools import setup, find_packages

Jérome Perrin's avatar
Jérome Perrin committed
3
version = '0.47'
4
name = 'slapos.recipe.build'
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
5
long_description = open("README.rst").read() + "\n" + \
6
    open("CHANGELOG.rst").read() + "\n"
7 8 9 10 11 12 13 14 15 16 17 18 19

# extras_requires are not used because of
#   https://bugs.launchpad.net/zc.buildout/+bug/85604
setup(name=name,
      version=version,
      description="Flexible software building recipe.",
      long_description=long_description,
      classifiers=[
          "Framework :: Buildout :: Recipe",
          "Programming Language :: Python",
        ],
      keywords='slapos recipe',
      license='GPLv3',
20
      url='https://lab.nexedi.com/nexedi/slapos.recipe.build',
21 22 23 24 25
      namespace_packages=['slapos', 'slapos.recipe'],
      packages=find_packages(),
      include_package_data=True,
      install_requires=[
        'setuptools', # namespaces
26
        'zc.buildout', # plays with buildout
27
        ],
28 29 30 31 32
      extras_require={
        'test' : ['zope.testing'],
      },
      tests_require = ['zope.testing'],
      test_suite = '%s.tests.test_suite' % name,
33 34 35 36
      zip_safe=True,
      entry_points={
        'zc.buildout': [
          'default = slapos.recipe.build:Script',
37
          'download = slapos.recipe.download:Recipe',
38
          'download-unpacked = slapos.recipe.downloadunpacked:Recipe',
Antoine Catton's avatar
Antoine Catton committed
39
          'gitclone = slapos.recipe.gitclone:Recipe',
40
          'npm = slapos.recipe.npm:Npm',
41 42
          'vm.install-debian = slapos.recipe.vm:InstallDebianRecipe',
          'vm.run = slapos.recipe.vm:RunRecipe',
43 44 45 46 47
        ],
        'zc.buildout.uninstall': [
          'gitclone = slapos.recipe.gitclone:uninstall',
        ],
        },
48
    )