-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide an Interface for Virtual Environments #22
Comments
From https://medium.com/@dbrailo/virtual-environments-in-python-2773ac8dd9ae As of Python 3.3 can create vend with python3 -m venv name-of-venv May need to have a New..venv option used within the project folder and an activate/deactivate option Avoid checking in venv folders (i.e. add to gitignore) "Pip list New requirements.txt may be an option or used when adding dependencies indirectly "To install the requirements.txt, run: "pip3 install -r requirements.txt" "to create the requirements.txt to have all the dependencies you have installed for that project, you can easily run: "pip3 freeze > requirements.txt "basic process of using a venv is to create it → activate it → install the libraries we need / installing the requirements.txt → deactivate" Maybe can also use when setting up LSP server |
Based on Python Virtual Environment Primer Have to accommodate multiple flavors of "venv" (i.e. standard python venv module, conda and virtualenv. May need a "virutal environment interface" with implementation for each of the above flavors. |
Need to decide if should include venv within the list of platforms or keep them separately. The benefits of coming is for all practical purposes a venv is another "instance" of a python platform with specific pre-included dependencies and could be treated as such but the draw back is the baseline pythons and the venv could provide excessive configurations which may get confusing as more environments are setup. Maybe a combination is to have a check box to include venvs |
May want to leverage a "venv" with the LSP modules included for use in plugin functionality. |
May need to consider egg/wheel packaging. See https://packaging.python.org/en/latest/discussions/wheel-vs-egg/ but this may be separate from virtual environments. |
This feature would be to provide a user interface to interface with Virtual Environments. This may be a sub-case of Python Platform functionality.
It may need to account for basic python virtual environments as well as anaconda-based environments
References
The text was updated successfully, but these errors were encountered: