Giter Site home page Giter Site logo

envie's People

Contributors

marsoft avatar randomir avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

marsoft mikalv

envie's Issues

Think about supporting environment vars context

Something like this has been (re-)implemented many times over, but it would be useful to support some kind of environment context switch (since python virtualenv activation is just that, in essence).

Consider integrating with existing solutions, or think of a way to elegantly extend envie to support broader env context switch.

python3 venv support

Is it possible to use python3 -m venv approach when creating virtualenv for python3? It is much faster (0.936s vs 2.464s on my system).
I see it is at least not straight-forward to implement, but it would be a nice feature.

P.S. Thanks for this tool, looks like it is the virtualenv manager I was looking for. According to docs it should fit my workflow exactly...

Error when starting script with active environment

While in an environment, trying to run envie manage.py shell (django) will raise an error:
/usr/local/bin/envie: line 102: deactivate: command not found

It still works regardless, but it sticks out.

Support installation via Pipsi

Trying to install and use envie via the Pipsi tool, doesnt work. It seems to get confused about the paths and might just need to have some small modifications made so that when envie is living inside its own virtualenv it can still function.

ImportError: No module named envie.utils

I installed it via an RPM https://build.opensuse.org/package/show/home:jayvdb:py-new/python-envie

~/tmp> . /usr/bin/envie
~/tmp> envie
Traceback (most recent call last):
  File "/usr/bin/envie-tools", line 11, in <module>
    from envie.utils import readlink, realpath
ImportError: No module named envie.utils
^CTraceback (most recent call last):
  File "/usr/bin/envie-tools", line 11, in <module>
    from envie.utils import readlink, realpath
ImportError: No module named envie.utils
^CTraceback (most recent call last):
  File "/usr/bin/envie-tools", line 11, in <module>
    from envie.utils import readlink, realpath
ImportError: No module named envie.utils
^CTraceback (most recent call last):
  File "/usr/bin/envie-tools", line 11, in <module>
    from envie.utils import readlink, realpath
ImportError: No module named envie.utils
^CNo environments found.
~/tmp> head /usr/bin/envie-tools
#!/usr/bin/python3 -s
from __future__ import print_function
import os
import sys

# ensure `envie` is accessible, without being installed via pip:
scriptsdir = os.path.dirname(os.path.abspath(__file__))
projectroot = os.path.normpath(os.path.join(scriptsdir, os.pardir))
sys.path.insert(0, projectroot)

~/tmp> python3 -c 'import envie.utils'

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.