Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytest-dependency - Installation problem #21

Open
svanan77 opened this issue Apr 6, 2018 · 1 comment
Open

pytest-dependency - Installation problem #21

svanan77 opened this issue Apr 6, 2018 · 1 comment

Comments

@svanan77
Copy link

svanan77 commented Apr 6, 2018

Hi,

I have managed to successfully install pytest-dependency using pip install.

Is there a way to install using conda install or if not possible using apt-get install ? I am facing some dependency issue where unable to use pip.

I was checking out http://pytest-dependency.readthedocs.io/en/0.3.1/ and the web, unfortunately had not been lucky.

Hope you can advice.

Thanks.

@danieljfarrell
Copy link

I wanted to install this using conda too and added it to my channel. You can install with the command,

conda install -c danieljfarrell_teraview pytest-dependency

If the @RKrahl wants to upload himself to conda-forge you could use this meta.yaml script and the conda-build tool.

{% set name = "pytest-dependency" %}
{% set version = "0.4.0" %}

package:
  name: "{{ name|lower }}"
  version: "{{ version }}"

source:
  url: https://github.com/RKrahl/pytest-dependency/archive/0.4.0.tar.gz
  sha256: e7b45cece88fc91de6df7b9ad027da822aacf7a663e499c55811e3f836570e20

build:
  number: 0
  script: "python -m pip install . --no-deps --ignore-installed -vvv "

requirements:
  host:
    - python
    - pytest >=3.6.0
  run:
    - python
    - pytest >=3.6.0

about:
  home: https://pypi.org/project/pytest-dependency
  license: Apache 2 license.
  license_family: Apache
  summary: Manage dependencies of tests
  doc_url: https://pytest-dependency.readthedocs.io
  dev_url: https://github.com/RKrahl/pytest-dependency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants