├── .gitignore ├── circle.yml ├── ci_support ├── checkout_merge_commit.sh └── run_docker_build.sh ├── conda-forge.yml ├── recipe └── meta.yaml ├── LICENSE ├── .travis.yml ├── appveyor.yml └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | 3 | build_artefacts 4 | -------------------------------------------------------------------------------- /circle.yml: -------------------------------------------------------------------------------- 1 | checkout: 2 | post: 3 | - ./ci_support/checkout_merge_commit.sh 4 | 5 | machine: 6 | services: 7 | - docker 8 | 9 | dependencies: 10 | # Note, we used to use the naive caching of docker images, but found that it was quicker 11 | # just to pull each time. #rollondockercaching 12 | override: 13 | - docker pull condaforge/linux-anvil 14 | 15 | test: 16 | override: 17 | # Run, test and (if we have a BINSTAR_TOKEN) upload the distributions. 18 | - ./ci_support/run_docker_build.sh 19 | -------------------------------------------------------------------------------- /ci_support/checkout_merge_commit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | # Update PR refs for testing. 5 | if [[ -n "${CIRCLE_PR_NUMBER}" ]] 6 | then 7 | FETCH_REFS="${FETCH_REFS} +refs/pull/${CIRCLE_PR_NUMBER}/head:pr/${CIRCLE_PR_NUMBER}/head" 8 | FETCH_REFS="${FETCH_REFS} +refs/pull/${CIRCLE_PR_NUMBER}/merge:pr/${CIRCLE_PR_NUMBER}/merge" 9 | fi 10 | 11 | # Retrieve the refs. 12 | if [[ -n "${CIRCLE_PR_NUMBER}" ]] 13 | then 14 | git fetch -u origin ${FETCH_REFS} 15 | fi 16 | 17 | # Checkout the PR merge ref. 18 | if [[ -n "${CIRCLE_PR_NUMBER}" ]] 19 | then 20 | git checkout -qf "pr/${CIRCLE_PR_NUMBER}/merge" 21 | fi 22 | 23 | # Check for merge conflicts. 24 | if [[ -n "${CIRCLE_PR_NUMBER}" ]] 25 | then 26 | git branch --merged | grep "pr/${CIRCLE_PR_NUMBER}/head" > /dev/null 27 | fi 28 | -------------------------------------------------------------------------------- /conda-forge.yml: -------------------------------------------------------------------------------- 1 | travis: 2 | secure: 3 | BINSTAR_TOKEN: o9Nuvc5RoM6al0waNyGdD8jruoeDgAYpNpHy9kqqsCyue28wwLqYtmPgq9P+XHa+CAIt6bk9zRF4F7Tln5NjOjGVwBx/akXS4G46Zz0zGYNNs3yi4rxvXo5d12GVhkocDIxlxwceuevdm679htXxQUu2pd5JpdryW+gEuz05v/BmgaQMVWrE9PIDp5by0JsY8r+NszUS5hu8Z8R0z+Y9J+J3YCgwTBJY9ygPwuPDPPHYq+rbvJyJzy6wG7MNWaP9O0o0EBCeCQzSpi4xHDQeAJIOYV+QHjs50XZ4T18ER0FOjlevDS+Jfug1jxHj388CXMglPpGSArzbhrvmiYV/XA9I8sVXcBqz7JLRXEOWwx/c1nqn3wn6KsdhEwtACzkGnSFhTOYyDeZoZ9iHoblhMixiMtZS1LjSgviCkUFx0OgtRUmhQ87Q+uTFuSRsh8lS1l6M3aVaN/uUxKPvFxp6lQ9GmE8iE0zO9mxsofM0gm5fSrCe6FrWEYh7rTHrTSuVscr7GqWKlN8FTC+O+vWJuyLji1l2+pe6bMr8DKK01hjlc4VrYleKPLPZhAxjYNzaM01aeTKyRDzILgO0S+aaOuRNxyJ1Xe7slG/CjnP8dJvH63MQuzeeSB5SulM2FkabK3lQsVZ2RQ1QOtXlpaGps2wAtHT1Mv5d52v8MGX4bLM= 4 | appveyor: 5 | secure: 6 | BINSTAR_TOKEN: MP4hZYylDyUWEsrt3u3cod2sbFeRwUziH02mvQOdbjsTO/l1yIxDkP/76rSIjcGC 7 | -------------------------------------------------------------------------------- /recipe/meta.yaml: -------------------------------------------------------------------------------- 1 | {% set name = "autobahn" %} 2 | {% set version = "0.17.1" %} 3 | {% set sha256 = "4b8667375161f9a3516b71d7fd47aa31ba100bb822d1a235baaf9185ea252959" %} 4 | 5 | package: 6 | name: {{ name|lower }} 7 | version: {{ version }} 8 | 9 | source: 10 | fn: {{ name }}-{{ version }}.tar.gz 11 | url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz 12 | sha256: {{ sha256 }} 13 | 14 | build: 15 | number: 0 16 | script: python setup.py install --single-version-externally-managed --record record.txt 17 | 18 | requirements: 19 | build: 20 | - python 21 | - setuptools 22 | 23 | run: 24 | - python 25 | - txaio >=2.5.2 26 | - six >=1.10.0 27 | 28 | test: 29 | imports: 30 | - autobahn 31 | - autobahn.rawsocket 32 | - autobahn.wamp 33 | - autobahn.websocket 34 | - autobahn.util 35 | 36 | about: 37 | home: https://github.com/crossbario/autobahn-python 38 | license: MIT 39 | license_family: MIT 40 | license_file: LICENSE 41 | summary: 'WebSocket and WAMP in Python for Twisted and asyncio' 42 | 43 | doc_url: https://autobahn-python.readthedocs.io 44 | dev_url: https://github.com/crossbario/autobahn-python 45 | 46 | extra: 47 | recipe-maintainers: 48 | - synapticarbors 49 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | BSD 3-clause license 2 | Copyright (c) conda-forge 3 | All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 6 | 7 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 8 | 9 | 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 10 | 11 | 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 12 | 13 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 14 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # This file was generated automatically from conda-smithy. To update this configuration, 2 | # update the conda-forge.yml and/or the recipe/meta.yaml. 3 | 4 | language: generic 5 | 6 | os: osx 7 | osx_image: beta-xcode6.1 8 | 9 | env: 10 | matrix: 11 | 12 | - CONDA_PY=27 13 | - CONDA_PY=34 14 | - CONDA_PY=35 15 | global: 16 | # The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml. 17 | - secure: "o9Nuvc5RoM6al0waNyGdD8jruoeDgAYpNpHy9kqqsCyue28wwLqYtmPgq9P+XHa+CAIt6bk9zRF4F7Tln5NjOjGVwBx/akXS4G46Zz0zGYNNs3yi4rxvXo5d12GVhkocDIxlxwceuevdm679htXxQUu2pd5JpdryW+gEuz05v/BmgaQMVWrE9PIDp5by0JsY8r+NszUS5hu8Z8R0z+Y9J+J3YCgwTBJY9ygPwuPDPPHYq+rbvJyJzy6wG7MNWaP9O0o0EBCeCQzSpi4xHDQeAJIOYV+QHjs50XZ4T18ER0FOjlevDS+Jfug1jxHj388CXMglPpGSArzbhrvmiYV/XA9I8sVXcBqz7JLRXEOWwx/c1nqn3wn6KsdhEwtACzkGnSFhTOYyDeZoZ9iHoblhMixiMtZS1LjSgviCkUFx0OgtRUmhQ87Q+uTFuSRsh8lS1l6M3aVaN/uUxKPvFxp6lQ9GmE8iE0zO9mxsofM0gm5fSrCe6FrWEYh7rTHrTSuVscr7GqWKlN8FTC+O+vWJuyLji1l2+pe6bMr8DKK01hjlc4VrYleKPLPZhAxjYNzaM01aeTKyRDzILgO0S+aaOuRNxyJ1Xe7slG/CjnP8dJvH63MQuzeeSB5SulM2FkabK3lQsVZ2RQ1QOtXlpaGps2wAtHT1Mv5d52v8MGX4bLM=" 18 | 19 | 20 | before_install: 21 | # Remove homebrew. 22 | - brew remove --force $(brew list) 23 | - brew cleanup -s 24 | - rm -rf $(brew --cache) 25 | 26 | install: 27 | - | 28 | MINICONDA_URL="https://repo.continuum.io/miniconda" 29 | MINICONDA_FILE="Miniconda3-latest-MacOSX-x86_64.sh" 30 | curl -L -O "${MINICONDA_URL}/${MINICONDA_FILE}" 31 | bash $MINICONDA_FILE -b 32 | 33 | source /Users/travis/miniconda3/bin/activate root 34 | conda config --add channels conda-forge 35 | conda config --set show_channel_urls true 36 | conda install --yes --quiet conda-forge-build-setup 37 | source run_conda_forge_build_setup 38 | 39 | script: 40 | - conda build ./recipe 41 | 42 | - upload_or_check_non_existence ./recipe conda-forge --channel=main 43 | -------------------------------------------------------------------------------- /ci_support/run_docker_build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here 4 | # will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent 5 | # changes to this script, consider a proposal to conda-smithy so that other feedstocks can also 6 | # benefit from the improvement. 7 | 8 | FEEDSTOCK_ROOT=$(cd "$(dirname "$0")/.."; pwd;) 9 | RECIPE_ROOT=$FEEDSTOCK_ROOT/recipe 10 | 11 | docker info 12 | 13 | config=$(cat < ~/.condarc 38 | # A lock sometimes occurs with incomplete builds. The lock file is stored in build_artefacts. 39 | conda clean --lock 40 | 41 | conda install --yes --quiet conda-forge-build-setup 42 | source run_conda_forge_build_setup 43 | 44 | # Embarking on 3 case(s). 45 | set -x 46 | export CONDA_PY=27 47 | set +x 48 | conda build /recipe_root --quiet || exit 1 49 | upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1 50 | 51 | set -x 52 | export CONDA_PY=34 53 | set +x 54 | conda build /recipe_root --quiet || exit 1 55 | upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1 56 | 57 | set -x 58 | export CONDA_PY=35 59 | set +x 60 | conda build /recipe_root --quiet || exit 1 61 | upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1 62 | EOF 63 | -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- 1 | # This file was automatically generated by conda-smithy. To update a component of this 2 | # file, make changes to conda-forge.yml and/or recipe/meta.yaml, and run 3 | # "conda smithy rerender". 4 | 5 | environment: 6 | 7 | # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the 8 | # /E:ON and /V:ON options are not enabled in the batch script intepreter 9 | # See: http://stackoverflow.com/a/13751649/163740 10 | CMD_IN_ENV: "cmd /E:ON /V:ON /C obvci_appveyor_python_build_env.cmd" 11 | 12 | # We set a default Python version for the miniconda that is to be installed. This can be 13 | # overridden in the matrix definition where appropriate. 14 | CONDA_PY: "27" 15 | CONDA_INSTALL_LOCN: "C:\\Miniconda-x64" 16 | 17 | BINSTAR_TOKEN: 18 | # The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml. 19 | secure: MP4hZYylDyUWEsrt3u3cod2sbFeRwUziH02mvQOdbjsTO/l1yIxDkP/76rSIjcGC 20 | 21 | matrix: 22 | - TARGET_ARCH: x86 23 | CONDA_PY: 27 24 | CONDA_INSTALL_LOCN: C:\\Miniconda 25 | 26 | - TARGET_ARCH: x64 27 | CONDA_PY: 27 28 | CONDA_INSTALL_LOCN: C:\\Miniconda-x64 29 | 30 | - TARGET_ARCH: x86 31 | CONDA_PY: 34 32 | CONDA_INSTALL_LOCN: C:\\Miniconda3 33 | 34 | - TARGET_ARCH: x64 35 | CONDA_PY: 34 36 | CONDA_INSTALL_LOCN: C:\\Miniconda3-x64 37 | 38 | - TARGET_ARCH: x86 39 | CONDA_PY: 35 40 | CONDA_INSTALL_LOCN: C:\\Miniconda35 41 | 42 | - TARGET_ARCH: x64 43 | CONDA_PY: 35 44 | CONDA_INSTALL_LOCN: C:\\Miniconda35-x64 45 | 46 | 47 | # We always use a 64-bit machine, but can build x86 distributions 48 | # with the TARGET_ARCH variable. 49 | platform: 50 | - x64 51 | 52 | install: 53 | # If there is a newer build queued for the same PR, cancel this one. 54 | # The AppVeyor 'rollout builds' option is supposed to serve the same 55 | # purpose but it is problematic because it tends to cancel builds pushed 56 | # directly to master instead of just PR builds (or the converse). 57 | # credits: JuliaLang developers. 58 | - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` 59 | https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | ` 60 | Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` 61 | throw "There are newer queued builds for this pull request, failing early." } 62 | 63 | # Cywing's git breaks conda-build. (See https://github.com/conda-forge/conda-smithy-feedstock/pull/2.) 64 | - cmd: rmdir C:\cygwin /s /q 65 | 66 | # Add our channels. 67 | - cmd: set "OLDPATH=%PATH%" 68 | - cmd: set "PATH=%CONDA_INSTALL_LOCN%\\Scripts;%CONDA_INSTALL_LOCN%\\Library\\bin;%PATH%" 69 | - cmd: conda config --set show_channel_urls true 70 | - cmd: conda config --add channels conda-forge 71 | 72 | # Add a hack to switch to `conda` version `4.1.12` before activating. 73 | # This is required to handle a long path activation issue. 74 | # Please see PR ( https://github.com/conda/conda/pull/3349 ). 75 | - cmd: conda install --yes --quiet conda=4.1.12 76 | - cmd: set "PATH=%OLDPATH%" 77 | - cmd: set "OLDPATH=" 78 | 79 | # Actually activate `conda`. 80 | - cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat 81 | - cmd: set PYTHONUNBUFFERED=1 82 | 83 | - cmd: conda install -n root --quiet --yes obvious-ci 84 | - cmd: conda install -n root --quiet --yes conda-forge-build-setup 85 | - cmd: run_conda_forge_build_setup 86 | 87 | # Skip .NET project specific build phase. 88 | build: off 89 | 90 | test_script: 91 | - "%CMD_IN_ENV% conda build recipe --quiet" 92 | deploy_script: 93 | - cmd: upload_or_check_non_existence .\recipe conda-forge --channel=main 94 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | About autobahn 2 | ============== 3 | 4 | Home: https://github.com/crossbario/autobahn-python 5 | 6 | Package license: MIT 7 | 8 | Feedstock license: BSD 3-Clause 9 | 10 | Summary: WebSocket and WAMP in Python for Twisted and asyncio 11 | 12 | 13 | 14 | Installing autobahn 15 | =================== 16 | 17 | Installing `autobahn` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with: 18 | 19 | ``` 20 | conda config --add channels conda-forge 21 | ``` 22 | 23 | Once the `conda-forge` channel has been enabled, `autobahn` can be installed with: 24 | 25 | ``` 26 | conda install autobahn 27 | ``` 28 | 29 | It is possible to list all of the versions of `autobahn` available on your platform with: 30 | 31 | ``` 32 | conda search autobahn --channel conda-forge 33 | ``` 34 | 35 | 36 | About conda-forge 37 | ================= 38 | 39 | conda-forge is a community-led conda channel of installable packages. 40 | In order to provide high-quality builds, the process has been automated into the 41 | conda-forge GitHub organization. The conda-forge organization contains one repository 42 | for each of the installable packages. Such a repository is known as a *feedstock*. 43 | 44 | A feedstock is made up of a conda recipe (the instructions on what and how to build 45 | the package) and the necessary configurations for automatic building using freely 46 | available continuous integration services. Thanks to the awesome service provided by 47 | [CircleCI](https://circleci.com/), [AppVeyor](http://www.appveyor.com/) 48 | and [TravisCI](https://travis-ci.org/) it is possible to build and upload installable 49 | packages to the [conda-forge](https://anaconda.org/conda-forge) 50 | [Anaconda-Cloud](http://docs.anaconda.org/) channel for Linux, Windows and OSX respectively. 51 | 52 | To manage the continuous integration and simplify feedstock maintenance 53 | [conda-smithy](http://github.com/conda-forge/conda-smithy) has been developed. 54 | Using the ``conda-forge.yml`` within this repository, it is possible to re-render all of 55 | this feedstock's supporting files (e.g. the CI configuration files) with ``conda smithy rerender``. 56 | 57 | 58 | Terminology 59 | =========== 60 | 61 | **feedstock** - the conda recipe (raw material), supporting scripts and CI configuration. 62 | 63 | **conda-smithy** - the tool which helps orchestrate the feedstock. 64 | Its primary use is in the construction of the CI ``.yml`` files 65 | and simplify the management of *many* feedstocks. 66 | 67 | **conda-forge** - the place where the feedstock and smithy live and work to 68 | produce the finished article (built conda distributions) 69 | 70 | Current build status 71 | ==================== 72 | 73 | Linux: [![Circle CI](https://circleci.com/gh/conda-forge/autobahn-feedstock.svg?style=shield)](https://circleci.com/gh/conda-forge/autobahn-feedstock) 74 | OSX: [![TravisCI](https://travis-ci.org/conda-forge/autobahn-feedstock.svg?branch=master)](https://travis-ci.org/conda-forge/autobahn-feedstock) 75 | Windows: [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/conda-forge/autobahn-feedstock?svg=True)](https://ci.appveyor.com/project/conda-forge/autobahn-feedstock/branch/master) 76 | 77 | Current release info 78 | ==================== 79 | Version: [![Anaconda-Server Badge](https://anaconda.org/conda-forge/autobahn/badges/version.svg)](https://anaconda.org/conda-forge/autobahn) 80 | Downloads: [![Anaconda-Server Badge](https://anaconda.org/conda-forge/autobahn/badges/downloads.svg)](https://anaconda.org/conda-forge/autobahn) 81 | 82 | 83 | Updating autobahn-feedstock 84 | =========================== 85 | 86 | If you would like to improve the autobahn recipe or build a new 87 | package version, please fork this repository and submit a PR. Upon submission, 88 | your changes will be run on the appropriate platforms to give the reviewer an 89 | opportunity to confirm that the changes result in a successful build. Once 90 | merged, the recipe will be re-built and uploaded automatically to the 91 | `conda-forge` channel, whereupon the built conda packages will be available for 92 | everybody to install and use from the `conda-forge` channel. 93 | Note that all branches in the conda-forge/autobahn-feedstock are 94 | immediately built and any created packages are uploaded, so PRs should be based 95 | on branches in forks and branches in the main repository should only be used to 96 | build distinct package versions. 97 | 98 | In order to produce a uniquely identifiable distribution: 99 | * If the version of a package **is not** being increased, please add or increase 100 | the [``build/number``](http://conda.pydata.org/docs/building/meta-yaml.html#build-number-and-string). 101 | * If the version of a package **is** being increased, please remember to return 102 | the [``build/number``](http://conda.pydata.org/docs/building/meta-yaml.html#build-number-and-string) 103 | back to 0. 104 | --------------------------------------------------------------------------------