Commit 704a820c authored by Hannes Diedrich's avatar Hannes Diedrich
Browse files

Added install script to makefile.

parent ef49e9b3
Pipeline #2654 passed with stages
in 18 minutes and 43 seconds
...@@ -36,5 +36,8 @@ test: ## run tests quickly with the default Python ...@@ -36,5 +36,8 @@ test: ## run tests quickly with the default Python
install: clean ## install the package to the active Python's site-packages install: clean ## install the package to the active Python's site-packages
python setup.py install python setup.py install
install_conda_gts2_client: clean ## install miniconda and additional packages plus gts2_client
./install_py_gts2_client.sh
gitlab_CI_docker: ## Build CI docker runner gitlab_CI_docker: ## Build CI docker runner
cd ./tests/CI_docker/; bash ./build_gts2_client_testsuite_image.sh cd ./tests/CI_docker/; bash ./build_gts2_client_testsuite_image.sh
...@@ -42,17 +42,22 @@ Clone the repository with: ...@@ -42,17 +42,22 @@ Clone the repository with:
### ... is easy (as long your python is compatible): ### ... is easy (as long your python is compatible):
* Make sure your system meets all the requirements (see above) * Make sure your system meets all the requirements (see above)
* Install the package by running: * Install the package by running:
`python gts2_client/setup.py install` ```
make install
make clean
```
### Install a compatible python: ### Install a compatible python:
The following instruction is only valid for Linux distributions but can be adapted on Windows machines. The following instruction is only valid for Linux distributions but can be adapted on Windows machines.
Everything is based on bash shell. Everything is based on bash shell.
#### EITHER: Use install script and follow instructions: #### EITHER: Use install script and follow instructions:
Run: `bash install_py_gts2_client.sh` Run:
```
make install_conda_gts2_client
```
After providing the installation path the script will install miniconda After providing the installation path, miniconda and all necessary packages as well as the gts2_client will be installed.
and all necessary packages as well as the gts2_client.
At the script will provide instructions which PATHs to add to your .bashrc. At the script will provide instructions which PATHs to add to your .bashrc.
#### OR: Per hand (expert modus): #### OR: Per hand (expert modus):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment