From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qhJDNSlVvl9ceAAA0tVLHw (envelope-from ) for ; Wed, 25 Nov 2020 12:59:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cB+pMClVvl+uZAAAbx9fmQ (envelope-from ) for ; Wed, 25 Nov 2020 12:59:21 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A3F8D940484 for ; Wed, 25 Nov 2020 12:59:19 +0000 (UTC) Received: from localhost ([::1]:57394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khuOE-0000pf-CR for larch@yhetil.org; Wed, 25 Nov 2020 07:59:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khuNp-0000pH-TS for emacs-orgmode@gnu.org; Wed, 25 Nov 2020 07:58:53 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:41737) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khuNo-0007pK-0c for emacs-orgmode@gnu.org; Wed, 25 Nov 2020 07:58:53 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 440D25C0125 for ; Wed, 25 Nov 2020 07:58:51 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 25 Nov 2020 07:58:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm1; bh=Eisu9E5VGgJXwwj63lhtLEpIXH ouLhvvb5s0l1kaX5Y=; b=De3elT5geFhU74qHLFYCpA5DG4LW0j6Gr4gvCb0ii6 UP9ONMDOw9vLTUM16aeoNJWUSy4i9ghyJeazksylpfDp58P74ZhxbL5YmdUs7zOc DBzpUSLHfd/fozGyp6vMS8rf3eHTR6hcTbMnH1/WoR3oDcc65F3Eing8hoUoyTI1 dtUVk5Ku9RO45wONx9ajbgxt2841LUmJhl94Kc8WjDTWSEtvjsOm/d6XpmJDIUJ3 Oxv26LEk5HOjJGiPPosg6a4INSjSs4ZX3uiYeJNdNUhmfVq3a/QJUvTFRxCjte/A nS+RHHAzN8N4GulpztJR+/VgUBq8/guLqQDlKBlOU+wQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Eisu9E 5VGgJXwwj63lhtLEpIXHouLhvvb5s0l1kaX5Y=; b=LEVT0YcBG4sKbHpThTSHXu c7yk83/6wdSjtc/p+EhgLpRJ4M8pM4svLaE/z2NLcns9HQzWluuFGoDFzKiAL05n EEnR//hDhaqv5UEbud9Ey5xwqckjkOYYZuAAHYhQScmRKJHQFdo351cVAharIov0 ghoFN8goVc7tN2adq/OdOvFU+yM/sPqnbB5EteYoxv1K8CSxJ5oisEztYzlxPYpi eSFUtMO+dQ6iSV428UzLBFAFJsN6jw4XE6zV54ZS+fHcSX7MlLvFRd+a4fDQn9/c 8yOsaRBHq1kyBeZexlKmOeXstv2GjVWNuH6tXxe9AT4Rzmts5l8yJ/7OVZnp5EnA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudehtddggeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpehffgfhvffujgffkfggtgesthdtre dttdertdenucfhrhhomheplfhoohhsthcumfhrvghmvghrshcuoehjohhoshhtkhhrvghm vghrshesfhgrshhtmhgrihhlrdhfmheqnecuggftrfgrthhtvghrnhepleeutdetjeehle fgiefgleeitedvtdeuhefggfeiueekffdvffdugfduudeufeefnecuffhomhgrihhnpehg ihhthhhusgdrtghomhenucfkphepleehrdeltddrvddvgedrvdeffeenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjohhoshhtkhhrvghmvghr shesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Received: from Lenovo.fastmail.com (unknown [95.90.224.233]) by mail.messagingengine.com (Postfix) with ESMTPA id B9C07328005A for ; Wed, 25 Nov 2020 07:58:50 -0500 (EST) References: <87eekkt6s9.fsf@fastmail.fm> <87zh36dgia.fsf@fastmail.fm> <87d0026deg.fsf@gmail.com> User-agent: mu4e 1.5.7; emacs 27.1.50 From: Joost Kremers To: emacs-orgmode@gnu.org Subject: Re: ob-python: import local package into a session In-reply-to: <87d0026deg.fsf@gmail.com> Date: Wed, 25 Nov 2020 13:58:48 +0100 Message-ID: <87360xy4mv.fsf@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.25; envelope-from=joostkremers@fastmail.fm; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fastmail.fm header.s=fm1 header.b=De3elT5g; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=LEVT0YcB; dmarc=pass (policy=none) header.from=fastmail.fm; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: OsIz0r3eDK6t On Tue, Nov 24 2020, Jack Kamm wrote: > If you install the package using either "python setup.py develop", or > "pip install -e", then Python will install your code via symlinks > instead of copying, so then you don't have to worry about reinstalling > every time you make an edit. Hey, that's good to know, thanks. > To switch between venv's in emacs, I use pyvenv: > https://github.com/jorgenschaefer/pyvenv Yes, that's what I use, as well. -- Joost Kremers Life has its moments