...
 
Commits (3)
before_script:
- source /opt/miniconda/bin/activate
- source /opt/conda/bin/activate
build:
stage: build
script:
- cd $CI_COMMIT_REF_NAME
- conda build . --prefix-length=80 --output-folder=../dist/ --python=2.7 --channel=file://conda
# - conda build . --prefix-length=80 --output-folder=../dist/ --python=3.6 --channel=file://conda
- conda build . --prefix-length=80 --output-folder=../dist/
artifacts:
paths:
- dist/
......
#!/bin/bash
$PYTHON setup.py install
package:
name: v4l2
version: "0.2"
source:
fn: v4l2-0.2.tar.gz
url: https://pypi.python.org/packages/1f/3c/a4e9abe360c76c7268cde9e7fbf7164c357063b29debbf0d36836097318c/v4l2-0.2.tar.gz
md5: 63ad6c62d907d0a9d8efad9a66357451
requirements:
build:
- python 2.7.*
run:
- python 2.7.*
test:
imports:
- v4l2
# source_files:
# - tests.py
# commands:
# - python tests.py # [py27]
about:
home: http://pypi.python.org/pypi/v4l2
license: GNU General Public License (GPL)
summary: 'Python bindings for the v4l2 userspace api.'
license_family: LGPL