pghilardi / atom-python-virtualenv

Python virtualenv support for Atom
MIT License
16 stars 6 forks source link

Environment values in activate not being picked up #38

Closed pasherman closed 5 years ago

pasherman commented 5 years ago

I have environment value in the virtual environment activate file and they are not being picked up when trying to run from within atom. Any ideas?

isam-os commented 5 years ago

this pack not work for me too .. why ? .. think author is lost ))

windows and python3 not work

TRY CHANGE packages\atom-python-virtualenv\lib\virtualenv-manager.coffee IN ATOM

      if process.platform == 'win32'
        cmd = ' dir /s /b activate'
      else
        cmd = 'find "$(pwd - P)" -follow -maxdepth 4 -name "activate"'

TO

          if process.platform == 'win32'
=====>>>>> cmd = ' dir /s /b activate.bat'
          else
            cmd = 'find "$(pwd - P)" -follow -maxdepth 4 -name "activate"
pghilardi commented 5 years ago

Hello guys!

I do not have much time to support this package, but I will try to check the last issues to have a minimum working plug-in. Testing in windows and linux.

Thanks for the report!

pghilardi commented 5 years ago

Changed to activate.bat. Try version 1.0.3.