Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Under construction.

  • Loading branch information...
commit 28ac7976b07245ec8c7266d28ffbf295c6577cb8 1 parent cd7a6b0
@specialunderwear specialunderwear authored
View
1  pm/__init__.py
@@ -0,0 +1 @@
+__import__('pkg_resources').declare_namespace(__name__)
View
1  pm/recipe/__init__.py
@@ -0,0 +1 @@
+__import__('pkg_resources').declare_namespace(__name__)
View
1  pm/recipe/shinken/__init__.py
@@ -0,0 +1 @@
+from pm.recipe.shinken.recipe import Recipe
View
13 pm/recipe/shinken/recipe.py
@@ -0,0 +1,13 @@
+import zc.recipe.egg
+
+class Recipe(object):
+
+ def __init__(self, buildout, name, options):
+ self.buildout, self.name, self.options = buildout, name, options
+ self.bin = buildout['buildout']['bin-directory']
+
+ def install(self):
+ zc.recipe.egg.Egg(self.buildout, 'Shinken', {'eggs': 'Shinken'})
+
+
+ update = install
View
39 setup.py
@@ -0,0 +1,39 @@
+from setuptools import setup, find_packages
+
+
+__version__ = "0.0.1"
+
+
+setup(
+ # package name in pypi
+ name='pm.recipe.shinken',
+ # extract version from module.
+ version=__version__,
+ description="A buildout recipe to install Shinken.",
+ long_description="",
+ classifiers=[],
+ keywords='',
+ author='Lars van de Kerkhof',
+ author_email='lars@permanentmarkers.nl',
+ url='https://github.com/permanentmarkers/pm.recipe.shinken',
+ license='ZPL',
+ # include all packages in the egg, except the test package.
+ packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
+ # for avoiding conflict have one namespace for all apc related eggs.
+ namespace_packages=['pm', 'pm.recipe'],
+ # include non python files
+ include_package_data=True,
+ zip_safe=False,
+ # specify dependencies
+ install_requires=[
+ 'setuptools',
+ 'zc.buildout',
+ 'zc.recipe.egg',
+ ],
+ # generate scripts
+ entry_points={
+ 'console_scripts':[
+ 'script_name = name.module:main',
+ ]
+ },
+)
Please sign in to comment.
Something went wrong with that request. Please try again.