Ask Your Question
1

Possible to use PipEnv projects in Wing IDE

asked 2018-04-08 04:48:00 -0500

MT drip gravatar image

updated 2019-03-13 08:33:08 -0500

Wingware Admin gravatar image

hi,

im not sure how to do this, virtualenv works fine as i can direct the project to the right python binary, but started to get the feel for PipEnv especially for my Django projects, but any way im able to work with PipEnv and Wing IDE ?

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2018-04-09 04:06:00 -0500

Leon H. gravatar image

updated 2019-03-07 09:11:01 -0500

Wingware Admin gravatar image

Make sure you have built an pipevn environment in the project directory and install all packages in Piplfile.

> pipenv install

Get the python executable path

> pipenv --py
/Users/Leon/.local/share/virtualenvs/stone-bi.py-s6oh35tQ/bin/python

Copy the path into Wing project setting.Wing -> Project -> Project Properties... -> Environment -> Python Executable

Thus Wing should detect the pipenv environment correctly.

edit flag offensive delete link more
1

answered 2018-04-08 08:47:00 -0500

Mark Jones gravatar image

updated 2019-03-07 09:10:08 -0500

Wingware Admin gravatar image

Start wing from the command line where your virtual environment is activated.  This is an alias I use on MAC, pretty similar to what you would use on linux (but the path to the executable will be different)

alias wg='/Applications//WingIDE.app/Contents/Resources/wing'wg *.wpr &

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2018-04-08 04:48:00 -0500

Seen: 18 times

Last updated: Mar 07