<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Build Environment on Subculture Science Research Group&#39;s Blog</title>
    <link>https://www.subcul-science.com/en/tags/build-environment/</link>
    <description>Recent content in Build Environment on Subculture Science Research Group&#39;s Blog</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Thu, 20 May 2021 20:53:52 +0900</lastBuildDate>
    <atom:link href="https://www.subcul-science.com/en/tags/build-environment/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Building a python environment with poetry on mac os</title>
      <link>https://www.subcul-science.com/en/post/20210520poetry/</link>
      <pubDate>Thu, 20 May 2021 20:53:52 +0900</pubDate>
      <guid>https://www.subcul-science.com/en/post/20210520poetry/</guid>
      <description>&lt;p&gt;Pip is a major method of installing python libraries.&lt;/p&gt;&#xA;&lt;p&gt;poetry is a more advanced version control tool for development environments.&lt;/p&gt;&#xA;&lt;p&gt;It seems to have official support for pyenv integration.&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;ll write down how to install it on mac os and what I got stuck.&lt;/p&gt;&#xA;&lt;h2 id=&#34;advantages-of-poetry&#34;&gt;Advantages of poetry&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Can organize library dependencies.&#xA;&lt;ul&gt;&#xA;&lt;li&gt;There are some unexpected side effects depending on the version of the library.&lt;/li&gt;&#xA;&lt;li&gt;Trying to recreate the environment can cause errors with library versions and installation order.&lt;/li&gt;&#xA;&lt;li&gt;Building the environment is an inevitable part of human work, so it should be automated if possible.&lt;/li&gt;&#xA;&lt;li&gt;Also, it seems to be able to update the library version to take dependencies into account.&lt;/li&gt;&#xA;&lt;li&gt;And it keeps a record of the status.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Is it possible to separate the dependency records by git branch?&lt;/li&gt;&#xA;&lt;li&gt;The libraries you can install are comparable to pip&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Does it have the same references as pypy?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Usability is not much different from pip&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Poetry add instead of pip install&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;It recognizes virtual environments created with pyenv and works with them.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;I&amp;rsquo;m going to install it because it seems to be a convenient way to build an environment without much effort.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
