Skip to content

Instantly share code, notes, and snippets.

@nicoddemus
Last active July 8, 2016 12:33
Show Gist options
  • Save nicoddemus/f2aaf8553421ba250f777f16405d35a8 to your computer and use it in GitHub Desktop.
Save nicoddemus/f2aaf8553421ba250f777f16405d35a8 to your computer and use it in GitHub Desktop.
pytest-2.9.1 recipe
"%PYTHON%" setup.py install
if errorlevel 1 exit 1
:: Add more build steps here, if they are necessary.
:: See
:: http://docs.continuum.io/conda/build.html
:: for a list of environment variables that are set during the build process.
package:
name: pytest
version: 2.9.1
source:
fn: pytest-2.9.1.tar.gz
url: https://pypi.python.org/packages/source/p/pytest/pytest-2.9.1.tar.gz
md5: 05165740ea50928e4e971378630163ec
build:
#preserve_egg_dir: True
entry_points:
# Put any entry points (scripts to be generated automatically) here. The
# syntax is module:function. For example
#
# - pytest = pytest:main
#
# Would create an entry point called pytest that calls pytest.main()
- py.test = pytest:main
- py.test-3.3 = pytest:main # [py33]
- py.test-2.6 = pytest:main # [py26]
- py.test-2.7 = pytest:main # [py27]
# If this is a new build for the same version, increment the build
# number. If you do not include this key, it defaults to 0.
# number: 1
requirements:
build:
- python
- setuptools
- py
- argparse # [py26]
- colorama # [win]
run:
- python
- py
- argparse # [py26]
- colorama # [win]
test:
# Python imports
imports:
- _pytest.assertion
- _pytest
- pytest
commands:
# You can put test commands to be run here. Use this to test that the
# entry points work.
- py.test --help
- py.test-3.3 --help # [py33]
- py.test-2.6 --help # [py26]
- py.test-2.7 --help # [py27]
about:
home: http://pytest.org
license: MIT License
# See
# http://docs.continuum.io/conda/build.html for
# more information about meta.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment