Skip to content

Commit

Permalink
Upgraded setup for plone6
Browse files Browse the repository at this point in the history
  • Loading branch information
fngaha committed Oct 13, 2022
1 parent 6a10f98 commit e01562e
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 35 deletions.
38 changes: 13 additions & 25 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,35 +1,23 @@
#!/usr/bin/make
#
all: run

BUILDOUT_FILES = bin/buildout buildout.cfg buildout.d/*.cfg

.PHONY: bootstrap buildout run test cleanall
bin/buildout: bootstrap.py buildout.cfg
virtualenv-2.7 .
bin/pip install -r requirements.txt
./bin/python bootstrap.py
touch $@
bootstrap: bin/buildout

buildout: bin/buildout
bin/buildout -t 5
buildout.cfg:
ln -fs dev.cfg buildout.cfg

bootstrap: bin/buildout
bin/buildout: bin/pip buildout.cfg
bin/pip install -I -r requirements.txt

run: bin/instance
bin/instance fg
buildout: bin/instance

bin/instance: $(BUILDOUT_FILES)
bin/buildout -Nvt 5
touch $@
bin/instance: bin/buildout
bin/buildout

test: bin/test
rm -fr htmlcov
bin/test
bin/pip:
python3 -m venv .

bin/test: $(BUILDOUT_FILES)
bin/buildout -Nvt 5
touch $@
run: bin/instance
bin/instance fg

cleanall:
rm -fr bin develop-eggs htmlcov include .installed.cfg lib .mr.developer.cfg parts downloads eggs
rm -fr develop-eggs downloads eggs parts .installed.cfg lib lib64 include bin .mr.developer.cfg local/
2 changes: 0 additions & 2 deletions buildout.d/development.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ extends =
eggs +=
plone.reload
Products.PDBDebugMode
Products.DocFinderTab
aws.zope2zcmldoc
collective.profiler

extensions +=
Expand Down
75 changes: 71 additions & 4 deletions buildout.d/versions.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[versions]
setuptools = 44.1.1
zc.buildout = 2.13.3
traitlets = 4.3.3
toml = 0.10.2
#setuptools = 44.1.1
#zc.buildout = 2.13.3
#traitlets = 4.3.3
#toml = 0.10.2
#zc.recipe.egg = 2.0.0
#coverage = 3.7.1

Expand All @@ -14,3 +14,70 @@ toml = 0.10.2
#robotsuite = 1.7.0
#selenium = 2.48.0
#sphinxcontrib-robotframework = 0.5.1

Products.PDBDebugMode = 2.0
aws.zope2zcmldoc = 1.1.0
build = 0.8.0
collective.profiler = 0.3
coverage = 6.5.0
createcoverage = 1.5
flake8 = 5.0.4
flake8-isort = 5.0.0
i18ndude = 5.5.0
ipdb = 0.13.9
ipython = 8.5.0
isort = 5.10.1
iw.debug = 0.3
jedi = 0.18.1
mccabe = 0.7.0
parso = 0.8.3
pep517 = 0.13.0
pexpect = 4.8.0
plone.recipe.codeanalysis = 3.0.1
plone.reload = 3.0.2
prompt-toolkit = 3.0.31
ptyprocess = 0.7.0
pycodestyle = 2.9.1
pyflakes = 2.5.0
toml = 0.10.2
traitlets = 5.4.0

# Required by:
# stack-data==0.5.1
asttokens = 2.0.8

# Required by:
# ipython==8.5.0
backcall = 0.2.0

# Required by:
# plone.recipe.codeanalysis==3.0.1
check-manifest = 0.48

# Required by:
# stack-data==0.5.1
executing = 1.1.1

# Required by:
# ipython==8.5.0
matplotlib-inline = 0.1.6

# Required by:
# ipython==8.5.0
pickleshare = 0.7.5

# Required by:
# collective.profiler==0.3
profilehooks = 1.12.0

# Required by:
# stack-data==0.5.1
pure-eval = 0.2.2

# Required by:
# ipython==8.5.0
stack-data = 0.5.1

# Required by:
# check-manifest==0.48
tomli = 2.0.1
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pip==20.3.4
setuptools==44.1.1
zc.buildout==2.13.3
wheel
pip==22.1.2
setuptools==65.4.1
wheel==0.37.1
zc.buildout==3.0.0rc3

0 comments on commit e01562e

Please sign in to comment.