Commit 71632d35 authored by Łukasz Nowak's avatar Łukasz Nowak

Merge slapos.recipe.java as slapos.recipebox:java

parent ecff7746
......@@ -48,5 +48,6 @@ setup(name=name,
'erp5 = slapos.recipe.erp5:Recipe',
'erp5testnode = slapos.recipe.erp5testnode:Recipe',
'helloworld = slapos.recipe.helloworld:Recipe',
'java = slapos.recipe.java:Recipe',
]},
)
Changelog
=========
0.0.2
----------------
Adapting to use auto-extracting packages, and not rpms.
[Cedric de Saint Martin]
0.0.1
----------------
Initial Commit
[Cedric de Saint Martin]
\ No newline at end of file
include CHANGES.txt
\ No newline at end of file
Metadata-Version: 1.0
Name: slapos.recipe.java
Version: 0.0.2
Summary: zc.buildout recipe that downloads and installs Java
Home-page: http://www.slapos.org
Author: Cedric de Saint Martin
Author-email: cedric.dsm@tiolive.com
License: ZPL 2.1
Description: slapos.recipe.java
=====================
This recipe downloads and installs java in your buildout.
Buildout configuration:
-----------------------
Add this section to your buildout configuration::
[buildout]
parts =
... your other parts ...
java
...
[java]
recipe = slapos.recipe.java
By default it will fetch Java 6u25, but you might want to install from another location or another version like this::
[java]
recipe = slapos.recipe.java
download-url = ftp://location/to/self-extracting/java.bin
Or you can install openjdk instead.
[java]
recipe = slapos.recipe.java
flavour = openjdk
Notes:
------
This recipe only works with linux at the moment
This recipe requires rpm2cpio and cpio to be installed on your system.
Authors:
--------
Original author: Cedric de Saint Martin - cedric.dsm [ at ] tiolive [ dot ] com
Inspired by : z3c.recipe.openoffice made by Jean-Francois Roche - jfroche@affinitic.be
Keywords: buildout java slapos
Platform: UNKNOWN
[egg_info]
tag_build =
tag_date = 0
tag_svn_revision = 0
from setuptools import setup, find_packages
import os
version = '0.0.2'
name='slapos.recipe.java'
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
long_description=( read('README.txt')
+ '\n' +
read('CHANGES.txt')
)
setup(
name = name,
version = version,
author = "Cedric de Saint Martin",
author_email = "cedric.dsm@tiolive.com",
description = "zc.buildout recipe that downloads and installs Java",
long_description = long_description,
license ='ZPL 2.1',
keywords = "buildout java slapos",
url ='http://www.slapos.org/',
packages = find_packages('src'),
include_package_data = True,
package_dir = {'': 'src'},
namespace_packages = ['slapos', 'slapos.recipe'],
install_requires = ['zc.buildout', 'setuptools'],
entry_points = {'zc.buildout': ['default = %s.recipe:Recipe' % name]},
)
# namespace package boilerplate
try:
__import__('pkg_resources').declare_namespace(__name__)
except ImportError:
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
try:
__import__('pkg_resources').declare_namespace(__name__)
except ImportError:
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment