├── .gitignore ├── .gitattributes ├── recipe ├── bld.bat ├── build.sh ├── run_test.py ├── RECIPE_LICENSE └── meta.yaml ├── circle.yml ├── ci_support ├── checkout_merge_commit.sh └── run_docker_build.sh ├── conda-forge.yml ├── LICENSE ├── .travis.yml ├── appveyor.yml └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | 3 | build_artefacts 4 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | meta.yaml text eol=lf 4 | build.sh text eol=lf 5 | bld.bat text eol=crlf 6 | -------------------------------------------------------------------------------- /recipe/bld.bat: -------------------------------------------------------------------------------- 1 | %PYTHON% setup.py install --offline --old-and-unmanageable 2 | if errorlevel 1 exit 1 3 | 4 | if "%PY3K%"=="1" ( 5 | rd /s /q %SP_DIR%\numpy 6 | ) 7 | -------------------------------------------------------------------------------- /recipe/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [[ `uname` == Linux ]]; then 4 | export CFLAGS="$CFLAGS -std=c99" 5 | export CC=gcc 6 | fi 7 | 8 | $PYTHON setup.py install --offline --old-and-unmanageable 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /recipe/run_test.py: -------------------------------------------------------------------------------- 1 | import astropy._compiler 2 | import astropy._erfa._core 3 | import astropy.convolution.boundary_extend 4 | import astropy.convolution.boundary_fill 5 | import astropy.convolution.boundary_none 6 | import astropy.convolution.boundary_wrap 7 | import astropy.cosmology.scalar_inv_efuncs 8 | import astropy.io.ascii.cparser 9 | import astropy.io.fits.compression 10 | import astropy.io.votable.tablewriter 11 | import astropy.modeling._projections 12 | import astropy.stats.lombscargle.implementations.cython_impl 13 | import astropy.table._column_mixins 14 | import astropy.table._np_utils 15 | import astropy.utils._compiler 16 | import astropy.utils.xml._iterparser 17 | import astropy.wcs._wcs 18 | -------------------------------------------------------------------------------- /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: BoQVJ7oXUrdDyVZrx8UOsQsbb+5rEbqBepE1H3ZxyYRo39ncxEmHTej8AdnLDe57Bz9ccYt18sHAi+celjNxrSpiDpt39bx8cFFuV4F+RsQ2Jf4xXYvmDGicm3UVs1KEAMGJs+OscDcQ54VZAhCEowM8dQ5h/kPRrdKQe56fVjgLphcyDikIlyPO24tslxac2GHwBdWewJfjDOvJegyfU0IFD/iG8jr27MD6kmaAucuQ9NK/CTTJ4moT7Uw+Xxip6E/IClgKCricKFrQWwFjDcD0v2d04PTpYdzz2oSfSKiyB3aafBBZYp/WgijdJ7k56mdW5LEjaNzN3INgvoL10Enp5DYVpbHKkApG9GtmLXVOO1SLXnvB9Bf0OqW/Q13M0ZtvbHWX86gOrlMdXmVXp/Ik424K8K8JfvqUf2sUSrZi9wiAVEKmxni3/A/zoSAfUNd6uQ8TOLTk10CO6AP3BrA/5bOdLN1LYtXIyQozAYPnEK9DBE9wDcGsDCsiI+SIY5Mkfib2MPwsvou64iFg7cNE2c6qjTP77FkW6lJZQOlO5+INqz7wZ2rREZ3lEg3X3oX0Qwxm+K4GjYT+47/aRrcPAXyObUbI4Dq4Wju+zMgsPGGHcIk1NgxVI0jSz+j/8MKv3br8sy1wXnHgtxuISz9Jgc0YevegBsjlagcLkwE= 4 | appveyor: 5 | secure: 6 | BINSTAR_TOKEN: MP4hZYylDyUWEsrt3u3cod2sbFeRwUziH02mvQOdbjsTO/l1yIxDkP/76rSIjcGC 7 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /recipe/RECIPE_LICENSE: -------------------------------------------------------------------------------- 1 | This recipe is adapted from the anaconda-recipes repository. The original license was: 2 | 3 | (c) 2016 Continuum Analytics, Inc. / http://continuum.io 4 | All Rights Reserved 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | * Redistributions of source code must retain the above copyright 9 | notice, this list of conditions and the following disclaimer. 10 | * Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | * Neither the name of Continuum Analytics, Inc. nor the 14 | names of its contributors may be used to endorse or promote products 15 | derived from this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 18 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 19 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 20 | DISCLAIMED. IN NO EVENT SHALL CONTINUUM ANALYTICS BE LIABLE FOR ANY 21 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 26 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | -------------------------------------------------------------------------------- /recipe/meta.yaml: -------------------------------------------------------------------------------- 1 | {% set version = "1.3" %} 2 | 3 | package: 4 | name: astropy 5 | version: {{version}} 6 | 7 | source: 8 | fn: astropy-{{version}}.tar.gz 9 | url: https://pypi.io/packages/source/a/astropy/astropy-{{version}}.tar.gz 10 | md5: bf4c8a033a7085fbc9ec604eebbdbdc5 11 | 12 | build: 13 | detect_binary_files_with_prefix: False 14 | entry_points: 15 | - fits2bitmap = astropy.visualization.scripts.fits2bitmap:main 16 | - fitscheck = astropy.io.fits.scripts.fitscheck:main 17 | - fitsdiff = astropy.io.fits.scripts.fitsdiff:main 18 | - fitsheader = astropy.io.fits.scripts.fitsheader:main 19 | - fitsinfo = astropy.io.fits.scripts.fitsinfo:main 20 | - samp_hub = astropy.vo.samp.hub_script:hub_script 21 | - volint = astropy.io.votable.volint:main 22 | - wcslint = astropy.wcs.wcslint:main 23 | number: 0 24 | 25 | requirements: 26 | 27 | build: 28 | - python 29 | - setuptools 30 | - numpy x.x 31 | 32 | run: 33 | - python 34 | - numpy x.x 35 | 36 | test: 37 | commands: 38 | - fits2bitmap --help 39 | - fitscheck --help 40 | - fitsdiff --help 41 | - fitsheader --help 42 | - fitsinfo --help 43 | - samp_hub --help 44 | - volint --help 45 | - wcslint --help 46 | imports: 47 | - astropy 48 | 49 | about: 50 | home: http://www.astropy.org/ 51 | license: BSD 52 | summary: Community-developed Python Library for Astronomy 53 | description: | 54 | The Astropy Project is a community effort to develop a single package for 55 | Astronomy in Python. It contains core functionality and common tools 56 | needed for performing astronomy and astrophysics research with Python. 57 | doc_url: http://docs.astropy.org/en/stable/ 58 | dev_url: https://github.com/astropy/astropy 59 | 60 | extra: 61 | recipe-maintainers: 62 | - astrofrog 63 | - mwcraig 64 | - bsipocz 65 | -------------------------------------------------------------------------------- /.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: xcode6.4 8 | 9 | env: 10 | matrix: 11 | 12 | - CONDA_NPY=111 CONDA_PY=27 13 | - CONDA_NPY=111 CONDA_PY=35 14 | - CONDA_NPY=111 CONDA_PY=36 15 | global: 16 | # The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml. 17 | - secure: "BoQVJ7oXUrdDyVZrx8UOsQsbb+5rEbqBepE1H3ZxyYRo39ncxEmHTej8AdnLDe57Bz9ccYt18sHAi+celjNxrSpiDpt39bx8cFFuV4F+RsQ2Jf4xXYvmDGicm3UVs1KEAMGJs+OscDcQ54VZAhCEowM8dQ5h/kPRrdKQe56fVjgLphcyDikIlyPO24tslxac2GHwBdWewJfjDOvJegyfU0IFD/iG8jr27MD6kmaAucuQ9NK/CTTJ4moT7Uw+Xxip6E/IClgKCricKFrQWwFjDcD0v2d04PTpYdzz2oSfSKiyB3aafBBZYp/WgijdJ7k56mdW5LEjaNzN3INgvoL10Enp5DYVpbHKkApG9GtmLXVOO1SLXnvB9Bf0OqW/Q13M0ZtvbHWX86gOrlMdXmVXp/Ik424K8K8JfvqUf2sUSrZi9wiAVEKmxni3/A/zoSAfUNd6uQ8TOLTk10CO6AP3BrA/5bOdLN1LYtXIyQozAYPnEK9DBE9wDcGsDCsiI+SIY5Mkfib2MPwsvou64iFg7cNE2c6qjTP77FkW6lJZQOlO5+INqz7wZ2rREZ3lEg3X3oX0Qwxm+K4GjYT+47/aRrcPAXyObUbI4Dq4Wju+zMgsPGGHcIk1NgxVI0jSz+j/8MKv3br8sy1wXnHgtxuISz9Jgc0YevegBsjlagcLkwE=" 18 | 19 | 20 | before_install: 21 | # Remove homebrew. 22 | - brew remove --force --ignore-dependencies $(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 --remove channels defaults 35 | conda config --add channels defaults 36 | conda config --add channels conda-forge 37 | conda config --set show_channel_urls true 38 | conda install --yes --quiet conda-forge-build-setup 39 | source run_conda_forge_build_setup 40 | 41 | script: 42 | - conda build ./recipe 43 | 44 | - upload_or_check_non_existence ./recipe conda-forge --channel=main 45 | -------------------------------------------------------------------------------- /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_NPY=111 47 | export CONDA_PY=27 48 | set +x 49 | conda build /recipe_root --quiet || exit 1 50 | upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1 51 | 52 | set -x 53 | export CONDA_NPY=111 54 | export CONDA_PY=35 55 | set +x 56 | conda build /recipe_root --quiet || exit 1 57 | upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1 58 | 59 | set -x 60 | export CONDA_NPY=111 61 | export CONDA_PY=36 62 | set +x 63 | conda build /recipe_root --quiet || exit 1 64 | upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1 65 | EOF 66 | -------------------------------------------------------------------------------- /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 | BINSTAR_TOKEN: 13 | # The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml. 14 | secure: MP4hZYylDyUWEsrt3u3cod2sbFeRwUziH02mvQOdbjsTO/l1yIxDkP/76rSIjcGC 15 | 16 | matrix: 17 | - TARGET_ARCH: x86 18 | CONDA_NPY: 111 19 | CONDA_PY: 27 20 | CONDA_INSTALL_LOCN: C:\\Miniconda 21 | 22 | - TARGET_ARCH: x64 23 | CONDA_NPY: 111 24 | CONDA_PY: 27 25 | CONDA_INSTALL_LOCN: C:\\Miniconda-x64 26 | 27 | - TARGET_ARCH: x86 28 | CONDA_NPY: 111 29 | CONDA_PY: 35 30 | CONDA_INSTALL_LOCN: C:\\Miniconda35 31 | 32 | - TARGET_ARCH: x64 33 | CONDA_NPY: 111 34 | CONDA_PY: 35 35 | CONDA_INSTALL_LOCN: C:\\Miniconda35-x64 36 | 37 | - TARGET_ARCH: x86 38 | CONDA_NPY: 111 39 | CONDA_PY: 36 40 | CONDA_INSTALL_LOCN: C:\\Miniconda35 41 | 42 | - TARGET_ARCH: x64 43 | CONDA_NPY: 111 44 | CONDA_PY: 36 45 | CONDA_INSTALL_LOCN: C:\\Miniconda35-x64 46 | 47 | 48 | # We always use a 64-bit machine, but can build x86 distributions 49 | # with the TARGET_ARCH variable. 50 | platform: 51 | - x64 52 | 53 | install: 54 | # If there is a newer build queued for the same PR, cancel this one. 55 | # The AppVeyor 'rollout builds' option is supposed to serve the same 56 | # purpose but it is problematic because it tends to cancel builds pushed 57 | # directly to master instead of just PR builds (or the converse). 58 | # credits: JuliaLang developers. 59 | - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` 60 | https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | ` 61 | Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` 62 | throw "There are newer queued builds for this pull request, failing early." } 63 | 64 | # Cywing's git breaks conda-build. (See https://github.com/conda-forge/conda-smithy-feedstock/pull/2.) 65 | - cmd: rmdir C:\cygwin /s /q 66 | 67 | # Add path, activate `conda` and update conda. 68 | - cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat 69 | - cmd: conda update --yes --quiet conda 70 | 71 | - cmd: set PYTHONUNBUFFERED=1 72 | 73 | # Add our channels. 74 | - cmd: conda config --set show_channel_urls true 75 | - cmd: conda config --remove channels defaults 76 | - cmd: conda config --add channels defaults 77 | - cmd: conda config --add channels conda-forge 78 | 79 | # Configure the VM. 80 | - cmd: conda install -n root --quiet --yes obvious-ci 81 | - cmd: conda install -n root --quiet --yes conda-forge-build-setup 82 | - cmd: run_conda_forge_build_setup 83 | 84 | # Skip .NET project specific build phase. 85 | build: off 86 | 87 | test_script: 88 | - "%CMD_IN_ENV% conda build recipe --quiet" 89 | deploy_script: 90 | - cmd: upload_or_check_non_existence .\recipe conda-forge --channel=main 91 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | About astropy 2 | ============= 3 | 4 | Home: http://www.astropy.org/ 5 | 6 | Package license: BSD 7 | 8 | Feedstock license: BSD 3-Clause 9 | 10 | Summary: Community-developed Python Library for Astronomy 11 | 12 | The Astropy Project is a community effort to develop a single package for 13 | Astronomy in Python. It contains core functionality and common tools 14 | needed for performing astronomy and astrophysics research with Python. 15 | 16 | 17 | Current build status 18 | ==================== 19 | 20 | Linux: [![Circle CI](https://circleci.com/gh/conda-forge/astropy-feedstock.svg?style=shield)](https://circleci.com/gh/conda-forge/astropy-feedstock) 21 | OSX: [![TravisCI](https://travis-ci.org/conda-forge/astropy-feedstock.svg?branch=master)](https://travis-ci.org/conda-forge/astropy-feedstock) 22 | Windows: [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/conda-forge/astropy-feedstock?svg=True)](https://ci.appveyor.com/project/conda-forge/astropy-feedstock/branch/master) 23 | 24 | Current release info 25 | ==================== 26 | Version: [![Anaconda-Server Badge](https://anaconda.org/conda-forge/astropy/badges/version.svg)](https://anaconda.org/conda-forge/astropy) 27 | Downloads: [![Anaconda-Server Badge](https://anaconda.org/conda-forge/astropy/badges/downloads.svg)](https://anaconda.org/conda-forge/astropy) 28 | 29 | Installing astropy 30 | ================== 31 | 32 | Installing `astropy` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with: 33 | 34 | ``` 35 | conda config --add channels conda-forge 36 | ``` 37 | 38 | Once the `conda-forge` channel has been enabled, `astropy` can be installed with: 39 | 40 | ``` 41 | conda install astropy 42 | ``` 43 | 44 | It is possible to list all of the versions of `astropy` available on your platform with: 45 | 46 | ``` 47 | conda search astropy --channel conda-forge 48 | ``` 49 | 50 | 51 | About conda-forge 52 | ================= 53 | 54 | conda-forge is a community-led conda channel of installable packages. 55 | In order to provide high-quality builds, the process has been automated into the 56 | conda-forge GitHub organization. The conda-forge organization contains one repository 57 | for each of the installable packages. Such a repository is known as a *feedstock*. 58 | 59 | A feedstock is made up of a conda recipe (the instructions on what and how to build 60 | the package) and the necessary configurations for automatic building using freely 61 | available continuous integration services. Thanks to the awesome service provided by 62 | [CircleCI](https://circleci.com/), [AppVeyor](http://www.appveyor.com/) 63 | and [TravisCI](https://travis-ci.org/) it is possible to build and upload installable 64 | packages to the [conda-forge](https://anaconda.org/conda-forge) 65 | [Anaconda-Cloud](http://docs.anaconda.org/) channel for Linux, Windows and OSX respectively. 66 | 67 | To manage the continuous integration and simplify feedstock maintenance 68 | [conda-smithy](http://github.com/conda-forge/conda-smithy) has been developed. 69 | Using the ``conda-forge.yml`` within this repository, it is possible to re-render all of 70 | this feedstock's supporting files (e.g. the CI configuration files) with ``conda smithy rerender``. 71 | 72 | 73 | Terminology 74 | =========== 75 | 76 | **feedstock** - the conda recipe (raw material), supporting scripts and CI configuration. 77 | 78 | **conda-smithy** - the tool which helps orchestrate the feedstock. 79 | Its primary use is in the construction of the CI ``.yml`` files 80 | and simplify the management of *many* feedstocks. 81 | 82 | **conda-forge** - the place where the feedstock and smithy live and work to 83 | produce the finished article (built conda distributions) 84 | 85 | 86 | Updating astropy-feedstock 87 | ========================== 88 | 89 | If you would like to improve the astropy recipe or build a new 90 | package version, please fork this repository and submit a PR. Upon submission, 91 | your changes will be run on the appropriate platforms to give the reviewer an 92 | opportunity to confirm that the changes result in a successful build. Once 93 | merged, the recipe will be re-built and uploaded automatically to the 94 | `conda-forge` channel, whereupon the built conda packages will be available for 95 | everybody to install and use from the `conda-forge` channel. 96 | Note that all branches in the conda-forge/astropy-feedstock are 97 | immediately built and any created packages are uploaded, so PRs should be based 98 | on branches in forks and branches in the main repository should only be used to 99 | build distinct package versions. 100 | 101 | In order to produce a uniquely identifiable distribution: 102 | * If the version of a package **is not** being increased, please add or increase 103 | the [``build/number``](http://conda.pydata.org/docs/building/meta-yaml.html#build-number-and-string). 104 | * If the version of a package **is** being increased, please remember to return 105 | the [``build/number``](http://conda.pydata.org/docs/building/meta-yaml.html#build-number-and-string) 106 | back to 0. 107 | --------------------------------------------------------------------------------