Commit 8271f674 authored by Łukasz Nowak's avatar Łukasz Nowak

Merge slapos.recipe.build into slapos.recipebox.

parent ae592c47
from setuptools import setup, find_packages
import glob
import os
version = '0.1'
name = 'slapos.recipebox'
long_description = open("README.txt").read() + "\n" + \
open("CHANGES.txt").read()
open("CHANGES.txt").read() + "\n"
for f in glob.glob(os.path.join('slapos', 'recipe', 'README.*.txt')):
subname = os.path.basename(f)
long_description += subname + '\n' + '=' * len(subname) + '\n\n' \
+ open(f).read() + '\n'
setup(name=name,
version=version,
......@@ -23,4 +30,9 @@ setup(name=name,
'zc.buildout', # needed to play internally
],
zip_safe=True,
entry_points={
'zc.buildout': [
'build = slapos.recipe.build:Script',
'buildcmmi = slapos.recipe.build:Cmmi',
]},
)
1.0 (unreleased)
----------------
- initial release [Łukasz Nowak]
[egg_info]
tag_build = .dev
tag_svn_revision = 1
from setuptools import setup, find_packages
version = '1.0'
name = 'slapos.recipe.build'
long_description = open("README.txt").read() + "\n" + \
open("CHANGES.txt").read()
setup(name=name,
version=version,
description="Simple download recipe",
long_description=long_description,
classifiers=[
"Framework :: Buildout :: Recipe",
"Programming Language :: Python",
],
keywords='slapos recipe build',
license='GPLv3',
namespace_packages=['slapos'],
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
install_requires=[
'setuptools', # for namespace and internal usage
'zc.buildout', # needed to play internally
],
entry_points={'zc.buildout': [
'default = %s:Script' % name,
'cmmi = %s:Cmmi' % name,
]},
zip_safe=True,
)
# 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__)
# 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