-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from glmcdona/glmcdona/build_changes
Update build PIP support for linux.
- Loading branch information
Showing
256 changed files
with
121 additions
and
59,700 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: '{build}' | ||
image: Visual Studio 2019 | ||
stack: python 3.7 | ||
skip_branch_with_pr: true | ||
init: | ||
- cmd: set PATH=C:\Python37;C:\Python37\Scripts;%PATH% | ||
install: | ||
- ps: python -m pip install --disable-pip-version-check --upgrade --no-warn-script-location pip build virtualenv wheel | ||
build_script: | ||
- ps: | | ||
python -m pip install . | ||
test_script: | ||
- ps: python tests\test.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
language: cpp | ||
dist: trusty | ||
matrix: | ||
include: | ||
- os: linux | ||
env: PYTHON=3.8 | ||
- os: linux | ||
env: CONDA=3.7 | ||
before_install: | ||
- | | ||
export CXX=g++-4.8 CC=gcc-4.8 | ||
if [ -n "$PYTHON" ]; then | ||
python -m pip install --user virtualenv | ||
virtualenv -p python${PYTHON:0:1} venv | ||
source venv/bin/activate | ||
elif [ -n "$CONDA" ]; then | ||
wget -O miniconda.sh https://repo.continuum.io/miniconda/Miniconda${CONDA:0:1}-latest-Linux-x86_64.sh | ||
bash miniconda.sh -b -p $HOME/miniconda | ||
export PATH="$HOME/miniconda/bin:$PATH" | ||
conda config --set always_yes yes --set changeps1 no | ||
conda config --add channels conda-forge | ||
conda update -q conda | ||
conda install -q conda-build | ||
conda create -q -n test-environment python=$CONDA | ||
source activate test-environment | ||
fi | ||
install: | ||
- | | ||
if [ -n "$PYTHON" ]; then | ||
python -m pip install . | ||
elif [ -n "$CONDA" ]; then | ||
conda build conda.recipe --python $CONDA | ||
conda install --use-local python_example | ||
fi | ||
script: | ||
- python tests/test.py |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package: | ||
name: python_example | ||
version: 0.0.1 | ||
|
||
source: | ||
path: .. | ||
|
||
build: | ||
number: 0 | ||
script: {{ PYTHON }} -m pip install . -vvv | ||
|
||
requirements: | ||
build: | ||
- {{ compiler('cxx') }} | ||
|
||
host: | ||
- python | ||
- pip | ||
- pybind11 >=2.10.0 | ||
|
||
run: | ||
- python | ||
|
||
|
||
test: | ||
imports: | ||
- python_example | ||
source_files: | ||
- tests | ||
commands: | ||
- python tests/test.py | ||
|
||
about: | ||
summary: Fast string extraction from binary buffers. | ||
license_file: LICENSE |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.