Skip to content

Commit 4ab027a

Browse files
committed
Modified Makefile to work again
1 parent a74aa64 commit 4ab027a

4 files changed

Lines changed: 10 additions & 17 deletions

File tree

Makefile

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,21 @@ all: run
1515
help:
1616
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n\nTargets:\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-10s\033[0m %s\n", $$1, $$2 }' $(MAKEFILE_LIST)
1717

18-
.PHONY: bootstrap
19-
bootstrap:
20-
virtualenv-2.7 .
21-
./bin/python bootstrap.py
22-
2318
.PHONY: setup
2419
setup: ## Setups environment
25-
# if command -v python2 >/dev/null && command -v virtualenv; then virtualenv -p python2 . ; elif command -v virtualenv-2.7; then virtualenv-2.7 . ;fi
26-
if command -v virtualenv-2.7; then virtualenv-2.7 . ; elif command -v python2 >/dev/null && command -v virtualenv; then virtualenv -p python2 . ; fi
20+
# if command -v virtualenv-2.7; then virtualenv-2.7 . ; elif command -v python2 >/dev/null && command -v virtualenv; then virtualenv -p python2 . ; fi
21+
virtualenv .
2722
./bin/pip install --upgrade pip
2823
./bin/pip install -r requirements.txt
2924

3025
.PHONY: buildout
3126
buildout: ## Runs setup and buildout
3227
rm -f .installed.cfg .mr.developer.cfg
3328
if ! test -f bin/buildout;then make setup;fi
34-
if ! test -d /srv/cache/download/dist; then mkdir /srv/cache/download/dist || true; fi
35-
if ! test -f /srv/cache/download/dist/appy-1.0.15.tar.gz; then scp -o 'StrictHostKeyChecking no' docs001:/srv/cache/download/dist/appy-1.0.15.tar.gz /srv/cache/download/dist/ || true; fi
36-
if ! test -f var/filestorage/Data.fs;then make standard-config; else bin/buildout -v;fi
29+
# if ! test -d /srv/cache/download/dist; then mkdir /srv/cache/download/dist || true; fi
30+
# if ! test -f /srv/cache/download/dist/appy-1.0.15.tar.gz; then scp -o 'StrictHostKeyChecking no' docs001:/srv/cache/download/dist/appy-1.0.15.tar.gz /srv/cache/download/dist/ || true; fi
31+
# if ! test -f var/filestorage/Data.fs;then make standard-config; else bin/buildout -v;fi
32+
bin/buildout -v
3733
git checkout .gitignore
3834

3935
.PHONY: copy

prod.cfg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ extends =
99

1010
download-cache = download-cache
1111

12-
13-
1412
parts +=
1513
instance-debug
1614
zeoserver

requirements.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
setuptools==78.1.0
2-
wheel==0.45.1
3-
zc.buildout==4.1.7
1+
#-c https://dist.plone.org/release/6.1.1/requirements.txt
2+
setuptools == 78.1.0
3+
zc.buildout == 4.1.7
4+

versions-base.cfg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
[versions]
22
setuptools = 78.1.0
3-
wheel = 0.45.1
43
zc.buildout = 4.1.7
54

6-
75
natsort = 6.2.1
86
beautifulsoup4 = 4.11.2

0 commit comments

Comments
 (0)