Coder Social home page Coder Social logo

portablevirtualenv's Introduction

(Almost) Minimal portable isolated virtualenvs.

They are made from miniconda (conda.io). There is replaced small part of activate script autodetecting current directory.

On Windows you need to have pre-installed VC ++ redistributable runtime: https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads .

How to use:

  1. Download proper archive for you.
  2. Decompress it.
  3. Activate it on commandline:
  • Linux or Mac
source /path/to/virtualenv/dir../bin/activate
  • Windows
call Z:\path\to\virtualenv\dir..\Scripts\activate.bat
  1. Now you use proper python on console. Check it:
  • Linux or Mac
which python
# should be /path/to/virtualenv/dir../bin/python
  • Windows
where python
# should be Z:\path\to\virtualenv\dir..\Scripts\python.exe
  1. Use other commandline utilities by invoking of python. E.g. pip:
    python -m pip install -U pip virtualbox ...

Limits:

As long as I know: on unix use bash. In other interpreters my patch of .../bin/activate can fail.

Credits:

All credits to Python makers, (ana)conda team, pip and virtualenv authors.

License:

License of each file is as for corresponding package it is taken from. License of my work ( :-D probably the patch of activate script solely) is public domain or 3-clause-BSD whatever you choose.

portablevirtualenv's People

Contributors

milos-korenciak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

portablevirtualenv's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.