Skip to content

setvirtualenvproject doesn't check if in a virtual environment #76

Description

@mohd-akram

Running setvirtualenvproject with no arguments when not in a virtual environment results in the following:

Setting project for .virtualenvs to /home/user/projects/project

It ends up creating a .project file in ~/.virtualenvs. The script should check that VIRTUAL_ENV is non-empty before proceeding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions