Giter Club home page Giter Club logo

Comments (4)

ben-spiller avatar ben-spiller commented on June 29, 2024 1

NB: it's PYTHONPATH/pythonpath not PYTHON_PATH
Might be good to call the other setting python_exe or similar to avoid confusion with pythonpath? (python's fault for picking a confusing name :) )

from pysys-vscode-extension.

CaribouJohn avatar CaribouJohn commented on June 29, 2024

Changed param

from pysys-vscode-extension.

CaribouJohn avatar CaribouJohn commented on June 29, 2024

Added

		"configuration": {
			"title": "Python settings for Pysys",
			"properties": {
				"pysys.interpreter_path": {
					"type": "string",
					"description": "Path to Python that has Pysys installed. This overrides the default of using python on the PATH."
				},
				"pysys.PYTHONPATH": {
					"type": "string",
					"description": "PYTHONPATH will be *Added* to the environment when running pysys."
				}
			}

interpreter_path will now effect the python used to invoke pysys.

Need to add handling for PYTHONPATH so that it will be added to the environment when the pysys command runs.

from pysys-vscode-extension.

ben-spiller avatar ben-spiller commented on June 29, 2024

We should also consider fitting in with what the Python VSCode plugin does e.g. use a .env file and/or venv (https://code.visualstudio.com/docs/python/environments#:~:text=In%20VS%20Code%2C%20PYTHONPATH%20can%20be%20set%20through,is%20routed%20through%20the%20terminal%20such%20as%20debugging) - would be good to recommend a single approach that would work for both, since they'll almost always be used together

from pysys-vscode-extension.

Related Issues (9)

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.