Enabling virtualenv in Makefile

Question:

How do I activate virtualenv in the Makefile?

I tried

venv:
    @virtualenv venv

active:
    @source venv/bin/activate

I tried too

active:
    @. venv/bin/activate

It's nothing.

Answer:

Activate from bash by creating an alias in .bashrc .

Scroll to Top