Skip to content
Snippets Groups Projects
Commit 8e98028e authored by Jan Pöppel's avatar Jan Pöppel
Browse files

minor tweaks to python build

parent 1c76bf61
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
echo "Installing ipaaca-cpp" echo "Installing ipaaca-cpp"
declare -a CMAKE_PLATFORM_FLAGS
INCLUDE_PATH="${PREFIX}/include" INCLUDE_PATH="${PREFIX}/include"
LIBRARY_PATH="${PREFIX}/lib" LIBRARY_PATH="${PREFIX}/lib"
......
...@@ -5,5 +5,5 @@ ...@@ -5,5 +5,5 @@
# that for easier manual installation # that for easier manual installation
cd ipaaca-py cd ipaaca-py
echo "Installing ipaaca using setup.py" echo "Installing ipaaca using setup.py"
#python -m pip install . -vv python -m pip install . -vv --no-deps
python setup.py install --single-version-externally-managed --record=record.txt #python setup.py install --single-version-externally-managed --record=record.txt
\ No newline at end of file \ No newline at end of file
...@@ -13,7 +13,7 @@ source: ...@@ -13,7 +13,7 @@ source:
folder: ipaaca-py folder: ipaaca-py
build: build:
number: 1 number: 11
requirements: requirements:
...@@ -33,23 +33,22 @@ outputs: ...@@ -33,23 +33,22 @@ outputs:
host: host:
- libprotobuf {{ protobufversion }} - libprotobuf {{ protobufversion }}
- mosquitto - mosquitto
- libboost - boost-cpp
run: run:
- mosquitto - mosquitto
- libprotobuf {{ protobufversion }} - libprotobuf {{ protobufversion }}
- libboost - boost-cpp
- name: ipaaca-py - name: ipaaca-py
noarch: python noarch: python
script: install_python.sh script: install_python.sh
requirements: requirements:
host: host:
- python - python
- pip - pip
- setuptools
- protobuf {{ protobufversion }} - protobuf {{ protobufversion }}
run: run:
- python - python
- mosquitto - mosquitto
- paho-mqtt - paho-mqtt
- protobuf {{ protobufversion }} - protobuf {{ protobufversion }}
{% set protobufversion = "3.8.0" %}
package:
name: ipaaca
version: "0.1.2"
source:
- path: ../ipaacalib/cpp
folder: ipaaca-cpp
- path: ../ipaacalib/proto
folder: proto
- path: ../ipaacalib/python
folder: ipaaca-py
build:
number: 9
requirements:
run:
- ipaaca-cpp
- ipaaca-py
outputs:
- name: ipaaca-cpp
script: install_cpp.sh # [unix]
requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- cmake >=3.10
host:
- libprotobuf {{ protobufversion }}
- mosquitto
- boost-cpp {{ boostcpp }}
run:
- mosquitto
- libprotobuf {{ protobufversion }}
- boost-cpp {{ boostcpp }}
- name: ipaaca-py
noarch: python
script: install_python.sh
requirements:
host:
- python {{ py_version }}
- pip
- setuptools
- protobuf {{ protobufversion }}
run:
- python {{ py_version }}
- mosquitto
- paho-mqtt
- protobuf {{ protobufversion }}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment