Skip to content

Can't be installed at the same time than pytest? #9

@sylvinus

Description

@sylvinus

My requirements.txt file:

pytest==2.5.1
pylint==1.1.0
pytest-cov==1.6
pytest-httpbin==0.0.3

When installing, I get:

Downloading/unpacking pytest==2.5.1 (from -r requirements-dev.txt (line 1))
  Running setup.py egg_info for package pytest

Downloading/unpacking pylint==1.1.0 (from -r requirements-dev.txt (line 2))
  Running setup.py egg_info for package pylint

Downloading/unpacking pytest-cov==1.6 (from -r requirements-dev.txt (line 3))
  Downloading pytest-cov-1.6.tar.gz
  Running setup.py egg_info for package pytest-cov

Downloading/unpacking pytest-httpbin==0.0.3 (from -r requirements-dev.txt (line 4))
  Downloading pytest-httpbin-0.0.3.tar.gz
  Running setup.py egg_info for package pytest-httpbin
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/tmp/pip_build_root/pytest-httpbin/setup.py", line 6, in <module>
        import pytest_httpbin
      File "pytest_httpbin/__init__.py", line 1, in <module>
        import pytest
    ImportError: No module named pytest
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "/tmp/pip_build_root/pytest-httpbin/setup.py", line 6, in <module>

    import pytest_httpbin

  File "pytest_httpbin/__init__.py", line 1, in <module>

    import pytest

ImportError: No module named pytest

If it install pytest first, then pytest-httpbin, it works.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions