Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
erp5
Commits
0136feb3
Commit
0136feb3
authored
May 05, 2011
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get products and bt5 directly from git repository
parent
401b616d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
3 deletions
+21
-3
slapos/software.cfg
slapos/software.cfg
+21
-3
No files found.
slapos/software.cfg
View file @
0136feb3
...
...
@@ -30,7 +30,6 @@ extends =
profile/memcached.cfg
profile/mysql-python.cfg
profile/pdftk.cfg
profile/products-erp5.cfg
profile/pysvn-python.cfg
profile/python-2.6.cfg
profile/python-2.7.cfg
...
...
@@ -94,12 +93,13 @@ parts =
# Zope products
products-deps
products-erp5
products-erp5-development
# Cloudooo specific part
cloudooo
# get git repositories
erp5_repository
# Create instance template
template
...
...
@@ -178,6 +178,18 @@ update-command =
${git:location}/bin/git pull --quiet
fi
[erp5_repository_list]
repository_id_list = erp5
[erp5_repository]
recipe = zerokspot.recipe.git
repository = https://git.erp5.org/repos/erp5.git
[products]
# XXX: ERP5 related products are not defined as python distributions, so it is
# required to configure them in declarative manner
list = ${products-deps:location} ${products-tidstorage:location} ${buildout:parts-directory}/parts/erp5/product
[testrunner]
# XXX: Workaround for fact ERP5Type is not an distribution and does not
# expose entry point for test runner
...
...
@@ -197,6 +209,11 @@ initialization =
import Zope2
os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__)))
os.environ['ZOPE_SCRIPTS'] = ''
temp_bt5_path_list = ['/'.join(['''${buildout:parts-directory}''', x, 'bt5']) for x in '''${erp5_repository_list:repository_id_list}'''.split(' ')]
bt5_path_list = []
[bt5_path_list.extend([bt5_path, '%s/*' % bt5_path]) for bt5_path in temp_bt5_path_list]
os.environ['erp5_tests_bt5_path'] = ','.join(bt5_path_list)
sys.path[0:0] = ['/'.join(['''${buildout:parts-directory}''', x, 'tests']) for x in '''${erp5_repository_list:repository_id_list}'''.split(' ')]
[test_suite_runner]
# XXX: Workaround for fact ERP5Type is not an distribution and does not
...
...
@@ -217,6 +234,7 @@ initialization =
import Zope2
os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__)))
os.environ['ZOPE_SCRIPTS'] = ''
sys.path[0:0] = ['/'.join(['''${buildout:parts-directory}''', x]) for x in '''${erp5_repository_list:repository_id_list}'''.split(' ')]
[pycrypto-python]
# This is a workaround for pkg_resources.ExtractionError: Can't extract file(s) to egg cache
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment