<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikemacs.org/index.php?action=history&amp;feed=atom&amp;title=Python_libraries</id>
	<title>Python libraries - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikemacs.org/index.php?action=history&amp;feed=atom&amp;title=Python_libraries"/>
	<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Python_libraries&amp;action=history"/>
	<updated>2026-05-01T22:54:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wikemacs.org/index.php?title=Python_libraries&amp;diff=47800&amp;oldid=prev</id>
		<title>Elvince: easy install and use of python packages in their venv</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Python_libraries&amp;diff=47800&amp;oldid=prev"/>
		<updated>2017-05-04T14:58:37Z</updated>

		<summary type="html">&lt;p&gt;easy install and use of python packages in their venv&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Here we'll take notes on libraries and best practices on how to write Emacs packages that use Python tools (like Elpy).&lt;br /&gt;
&lt;br /&gt;
= Libraries =&lt;br /&gt;
&lt;br /&gt;
== Install and access pip dependencies in their own virtual env with python-environment ==&lt;br /&gt;
&lt;br /&gt;
Let's say you write an Emacs plugin which uses Python scripts. Then you would want to setup Python modules for that script easily from Emacs. This is the problem [https://github.com/tkf/emacs-python-environment emacs-python-environment] solves, an important and recurrent problem in emacs packages using python tools.&lt;br /&gt;
&lt;br /&gt;
For example, [[Elpy]] relies on a few python dependencies, found in pypi: jedi, yapf, importmagic, etc. When we install Elpy we must install them too. And where should we do it ? Python's best practices tell us to do so in our virtual env. Fine, but as soon as we switch to another project, we should install them again in this other venv. We could install them globally, but then we need to modify the creation of our virtual envs, that by default do *not* use system-wide packages. We could… well, it's cumbersome. This package solves that.&lt;br /&gt;
&lt;br /&gt;
It's actually simple to use. For an example, see [https://github.com/abingham/emacs-traad emacs-traad].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming languages]]&lt;br /&gt;
[[Category:Programming]]&lt;br /&gt;
[[Category:Python]]&lt;br /&gt;
[[Category:Tutorial]]&lt;/div&gt;</summary>
		<author><name>Elvince</name></author>
	</entry>
</feed>