Skip to content

Commit

Permalink
Update buildout
Browse files Browse the repository at this point in the history
  • Loading branch information
xispa committed Aug 11, 2020
1 parent 7987632 commit eecf1fa
Showing 1 changed file with 72 additions and 38 deletions.
110 changes: 72 additions & 38 deletions buildout.cfg
Original file line number Diff line number Diff line change
@@ -1,27 +1,36 @@
# This buildout can be used to obtain a complete test system from scratch:
#
# virtualevnv --no-site-packages .
# source bin/activate
# python bootstrap.py
# bin/buildout
# bin/instance start
#

[buildout]
extends = http://dist.plone.org/release/4.3.19/versions.cfg

index = https://pypi.python.org/simple/

find-links =
http://dist.plone.org/release/4.3.19
http://dist.plone.org/thirdparty

parts =
lxml
instance
test
omelette
i18ndude
update_translations
write_code_headers

extends =
http://dist.plone.org/release/4.3.18/versions.cfg

find-links =
http://dist.plone.org/release/4.3.18
http://dist.plone.org/thirdparty
lxml
test
omelette

eggs =
Plone
Pillow
plone.reload
lxml
senaite.lims
senaite.core
plone.reload
i18ndude
lxml

zcml =

Expand All @@ -37,57 +46,82 @@ auto-checkout = *
develop = .

[sources]
senaite.core = git git://github.com/senaite/senaite.core.git pushurl=git@github.com:senaite/senaite.core.git branch=1.3.x
senaite.core.supermodel = git git://github.com/senaite/senaite.core.supermodel.git pushurl=git@github.com:senaite/senaite.core.supermodel.git branch=1.x
senaite.core.listing = git git://github.com/senaite/senaite.core.listing.git pushurl=git@github.com:senaite/senaite.core.listing.git branch=1.x
senaite.lims = git git://github.com/senaite/senaite.lims.git pushurl=git@github.com:senaite/senaite.lims.git branch=1.x

[lxml]
recipe = z3c.recipe.staticlxml
egg = lxml==4.2.1
force = false
static-build = true
senaite.core = git git@github.com:senaite/senaite.core.git branch=1.3.x
senaite.core.listing = git git@github.com:senaite/senaite.core.listing.git branch=1.x
senaite.core.spotlight = git git@github.com:senaite/senaite.core.listing.git branch=1.x
senaite.core.supermodel = git git@github.com:senaite/senaite.core.supermodel.git branch=1.x
senaite.impress = git git@github.com:senaite/senaite.impress.git branch=1.x
senaite.jsonapi = git git@github.com:senaite/senaite.jsonapi.git branch=1.x
senaite.lims = git git@github.com:senaite/senaite.lims.git branch=1.x

[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 0.0.0.0:8080
eggs =
senaite.queue
${buildout:eggs}
zcml =
senaite.queue
${buildout:zcml}
environment-vars =
zope_i18n_compile_mo_files true

[test]
recipe = zc.recipe.testrunner
eggs =
senaite.queue [test]
defaults = ['--auto-color', '--auto-progress']

[omelette]
recipe = collective.recipe.omelette
eggs = ${buildout:eggs}

[i18ndude]
unzip = true
recipe = zc.recipe.egg
eggs = i18ndude

[update_translations]
recipe = collective.recipe.template
output = ${buildout:directory}/bin/update_translations
output = ${buildout:directory}/bin/update_translations_panic
input = ${buildout:directory}/templates/update_translations.in
mode = 755

[write_code_headers]
recipe = collective.recipe.template
output = ${buildout:directory}/bin/write_code_headers
output = ${buildout:directory}/bin/write_code_headers_panic
input = ${buildout:directory}/templates/write_code_headers.py.in
mode = 755

[lxml]
recipe = z3c.recipe.staticlxml
egg = lxml==4.2.1
force = false
static-build = true

[test]
recipe = zc.recipe.testrunner
defaults = ['--auto-color', '--auto-progress']
eggs =
senaite.panic [test]

[omelette]
recipe = collective.recipe.omelette
eggs = ${buildout:eggs}

# Please download ipy_profile_zope to ~/.ipython/profile_zope/startup/ipy_profile_zope.py
# https://raw.githubusercontent.com/collective/dotipython/master/ipy_profile_zope.py
# cd ~/.ipython/profile_zope/startup/ && wget https://raw.githubusercontent.com/collective/dotipython/master/ipy_profile_zope.py
# Run ./bin/ipzope

[ipzope]
recipe = zc.recipe.egg
eggs =
ipython
${instance:eggs}
initialization =
import sys, os
os.environ["SOFTWARE_HOME"] = "${instance:location}"
os.environ["INSTANCE_HOME"] = "${instance:location}"
sys.argv[1:1] = "--profile zope".split()
extra-paths =
${instance:location}/lib/python
scripts = ipython=ipzope

[versions]
setuptools=
zc.buildout=
zipp = <2.0.0

[versions]
setuptools =
zc.buildout =

0 comments on commit eecf1fa

Please sign in to comment.