This repository was archived by the owner on Sep 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +33
-13
lines changed Expand file tree Collapse file tree 7 files changed +33
-13
lines changed Original file line number Diff line number Diff line change 1- <!--
2- [](https://gitlab-ex.sandia.gov/trilinos-devops-consolidation/code/SetProgramOptions/-/commits/master)
3- [](http://10.202.35.89:8080/SetProgramOptions/coverage/index.html)
4- [](http://10.202.35.89:8080/SetProgramOptions/doc/index.html)
5- -->
61<!-- Github Badges -->
72[ ![ SetProgramOptions Testing] ( https://github.com/sandialabs/SetProgramOptions/actions/workflows/test-driver-core.yml/badge.svg )] ( https://github.com/sandialabs/SetProgramOptions/actions/workflows/test-driver-core.yml )
83[ ![ Documentation Status] ( https://readthedocs.org/projects/setprogramoptions/badge/?version=latest )] ( https://setprogramoptions.readthedocs.io/en/latest/?badge=latest )
94
5+
106SetProgramOptions
117=================
128The ` SetProgramOptions ` package extends [ ` ConfigParserEnhanced ` ] [ 2 ] to enable the processing
Original file line number Diff line number Diff line change 77# Source the common helpers script.
88source scripts/common.bash
99
10+ # Check if we're in a virtual environment
11+ pip_opt_user=" "
12+ if [ -z ${VIRTUAL_ENV} ]; then
13+ # if not in virtual environment
14+ pip_opt_user=" --user"
15+ fi
16+
1017printf " ${yellow} "
1118print_banner " INSTALL REQUIRED PACKAGES"
1219printf " ${normal} "
@@ -19,8 +26,9 @@ execute_command "${python_exe:?} --version"
1926options=(
2027 -m pip
2128 install
22- --user
29+ ${pip_opt_user}
2330 -r requirements.txt
31+ -r requirements-build.txt
2432 -r requirements-test.txt
2533 -r doc/requirements.txt
2634)
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ options=(
1818 -y
1919 -r requirements.txt
2020 -r requirements-test.txt
21+ # -r requirements-build.txt
2122)
2223
2324cmd=" ${python_exe} ${options[@]} ${projectname} "
Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ options=(
3939python3 -m pytest ${options[@]}
4040err=$?
4141
42-
4342# Install the package
44- execute_command_checked " python3 -m pip wheel --no-deps -w dist . >& _test-build-dist.log"
43+ # execute_command_checked "python3 -m pip wheel --no-deps -w dist . >& _test-build-dist.log"
44+ execute_command_checked " python3 -m build >& _test-build-dist.log"
4545execute_command_checked " python3 -m pip install ${pip_opt_user} . >& _test-install.log"
4646
4747
Original file line number Diff line number Diff line change @@ -29,7 +29,10 @@ Issues = "https://gitlab-ex.sandia.gov/trilinos-devops-consolidation/code/SetPro
2929[tool .poetry .dependencies ]
3030python = " ^3.6"
3131configparser = " ^5.0"
32- configparserenhanced = {git = " https://gitlab-ex.sandia.gov/trilinos-devops-consolidation/code/ConfigParserEnhanced.git" , rev = " master" }
32+ configparserenhanced = " ^0.8"
33+
34+ # deprecated
35+ # configparserenhanced = {git = "https://gitlab-ex.sandia.gov/trilinos-devops-consolidation/code/ConfigParserEnhanced.git", rev = "master"}
3336
3437
3538[tool .poetry .dev-dependencies ]
Original file line number Diff line number Diff line change 1+ #
2+ # Build/Distribution-specific requirements are in this file.
3+ # - Dependencies in requirements.txt are still needed.
4+ #
5+
6+ # Build / Distribution Requirements
7+ setuptools >= 58.0
8+ build >= 0.7
9+
10+
11+ # (possibly) unnecessary packages
12+ # poetry >= 1.1
13+
Original file line number Diff line number Diff line change 33#
44
55# Core Requirements
6-
6+ configparserenhanced
77
88# Privately hosted repositories
9- #configparserenhanced @ git+ssh://git@gitlab-ex.sandia.gov/trilinos-devops-consolidation/code/ConfigParserEnhanced.git@master#egg=configparserenhanced
10-
11- configparserenhanced @ git+https://github.com/sandialabs/ConfigParserEnhanced.git@master#egg=configparserenhanced
9+ # configparserenhanced @ git+ssh://git@gitlab-ex.sandia.gov/trilinos-devops-consolidation/code/ConfigParserEnhanced.git@master#egg=configparserenhanced
10+ # configparserenhanced @ git+https://github.com/sandialabs/ConfigParserEnhanced.git@master#egg=configparserenhanced
1211
You can’t perform that action at this time.
0 commit comments