Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CCS
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marko Mecina
CCS
Commits
27a34f20
Commit
27a34f20
authored
2 years ago
by
Marko Mecina
Browse files
Options
Downloads
Patches
Plain Diff
Makefile update
parent
2c5d128f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+5
-27
5 additions, 27 deletions
Makefile
Tst/confignator/Makefile
+3
-1
3 additions, 1 deletion
Tst/confignator/Makefile
with
8 additions
and
28 deletions
Makefile
+
5
−
27
View file @
27a34f20
.PHONY
:
install-confignator
install-confignator-userspace
ccs-storage codeblockreusefeature install-testlib
.PHONY
:
install-confignator ccs-storage codeblockreusefeature install-testlib
all
:
install
build-pc
#
all: install
install-database-dev-env
install
:
install-python-requirements install-confignator ccs-storage codeblockreusefeature
install
:
install-python-requirements install-confignator ccs-storage codeblockreusefeature
databases
:
ccs-storage codeblockreusefeature
databases
:
ccs-storage codeblockreusefeature
# build-pc: build-fw-profile build-crplm build-cria build-crfee
install-confignator
:
install-confignator
:
@
echo
"+---------------------------------------+"
@
echo
"+---------------------------------------+"
@
echo
"| installing confignator Python package |"
@
echo
"| installing confignator Python package |"
@
echo
"+---------------------------------------+"
@
echo
"+---------------------------------------+"
$(
MAKE
)
build
-C
$(
CURDIR
)
/Tst/confignator
$(
MAKE
)
build
-C
$(
CURDIR
)
/Tst/confignator
if
[
-z
$VIRTUAL_ENV
]
;
then
pip
install
--user
-U
$(
CURDIR
)
/Tst/confignator/dist/
*
.whl
;
else
pip
install
-U
$(
CURDIR
)
/Tst/confignator/dist/
*
.whl
;
fi
if
[
-z
$VIRTUAL_ENV
]
;
then
pip
install
--user
-U
--force-reinstall
$(
CURDIR
)
/Tst/confignator/dist/
*
.whl
;
else
pip
install
-U
--force-reinstall
$(
CURDIR
)
/Tst/confignator/dist/
*
.whl
;
fi
@
echo
"+--------------------------------------+"
$(
MAKE
)
build-doc
-C
$(
CURDIR
)
/Tst/confignator
@
echo
"| installed confignator Python package |"
@
echo
"+--------------------------------------+"
@
echo
install-confignator-userspace
:
@
echo
"+---------------------------------------+"
@
echo
"| installing confignator Python package |"
@
echo
"+---------------------------------------+"
$(
MAKE
)
build
-C
$(
CURDIR
)
/Tst/confignator
pip
install
--user
-U
$(
CURDIR
)
/Tst/confignator/dist/
*
.whl
@
echo
"+--------------------------------------+"
@
echo
"+--------------------------------------+"
@
echo
"| installed confignator Python package |"
@
echo
"| installed confignator Python package |"
@
echo
"+--------------------------------------+"
@
echo
"+--------------------------------------+"
...
@@ -49,16 +37,6 @@ install-database-dev-env:
...
@@ -49,16 +37,6 @@ install-database-dev-env:
@
echo
"| installed Python dev packages for the database |"
@
echo
"| installed Python dev packages for the database |"
@
echo
"+---------------------------------------------------+"
@
echo
"+---------------------------------------------------+"
@
echo
@
echo
install-python-env
:
@
echo
"+-----------------------------+"
@
echo
"| installing Python modules |"
@
echo
"+-----------------------------+"
python
-m
pip
install
--user
-U
numpy scipy matplotlib cairocffi mysqlclient sqlalchemy wheel sphinx sphinx_rtd_theme astropy crcmod psutil
@
echo
"+-----------------------------+"
@
echo
"| installed Python modules |"
@
echo
"+-----------------------------+"
@
echo
install-python-requirements
:
install-python-requirements
:
@
echo
"+-----------------------------+"
@
echo
"+-----------------------------+"
...
...
This diff is collapsed.
Click to expand it.
Tst/confignator/Makefile
+
3
−
1
View file @
27a34f20
...
@@ -7,6 +7,8 @@ DOC_DST = "doc/source/_apidocfiles/"
...
@@ -7,6 +7,8 @@ DOC_DST = "doc/source/_apidocfiles/"
DOC_OPEN
=
$(
CURDIR
)
/confignator/open_doc.py
DOC_OPEN
=
$(
CURDIR
)
/confignator/open_doc.py
DIST_DIR
=
$(
CURDIR
)
/dist
DIST_DIR
=
$(
CURDIR
)
/dist
LOG_LEVEL
=
"WARNING"
.PHONY
:
build clean-build install uninstall reinstall build-doc clean-doc-build all open-doc
.PHONY
:
build clean-build install uninstall reinstall build-doc clean-doc-build all open-doc
all
:
clean build install build-doc open-doc
all
:
clean build install build-doc open-doc
...
@@ -34,7 +36,7 @@ build: clean
...
@@ -34,7 +36,7 @@ build: clean
@
echo
"log-file = ''"
>>
$(
CONFIGNATOR_CFG
)
@
echo
"log-file = ''"
>>
$(
CONFIGNATOR_CFG
)
@
echo
>>
$(
CONFIGNATOR_CFG
)
@
echo
>>
$(
CONFIGNATOR_CFG
)
@
echo
"[confignator-logging]"
>>
$(
CONFIGNATOR_CFG
)
@
echo
"[confignator-logging]"
>>
$(
CONFIGNATOR_CFG
)
@
echo
"level =
INFO
"
>>
$(
CONFIGNATOR_CFG
)
@
echo
"level =
$(
LOG_LEVEL
)
"
>>
$(
CONFIGNATOR_CFG
)
@
echo
>>
$(
CONFIGNATOR_CFG
)
@
echo
>>
$(
CONFIGNATOR_CFG
)
# build the Python package
# build the Python package
# python3 setup.py sdist;
# python3 setup.py sdist;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment