<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Brain Sorting (Posts about package)</title><link>https://brainsorting.com/</link><description></description><atom:link href="https://brainsorting.com/categories/package.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2024 &lt;a href="mailto:dugue.mathieu@gmail.com"&gt;Mathieu Dugue&lt;/a&gt; 
&lt;a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/"&gt;
&lt;img alt="Creative Commons License BY-NC-SA"
style="border-width:0; margin-bottom:12px;"
src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png"&gt;&lt;/a&gt;</copyright><lastBuildDate>Fri, 06 Sep 2024 22:42:19 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Publish a package on PyPi using Poetry</title><link>https://brainsorting.com/posts/publish-a-package-on-pypi-using-poetry/</link><dc:creator>Mathieu Dugue</dc:creator><description>&lt;div&gt;&lt;nav id="TOC" role="doc-toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/publish-a-package-on-pypi-using-poetry/#install-poetry" id="toc-install-poetry"&gt;Install
Poetry&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/publish-a-package-on-pypi-using-poetry/#create-the-package-you-want-to-publish-on-pypi" id="toc-create-the-package-you-want-to-publish-on-pypi"&gt;Create the
package you want to publish on PyPi&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/publish-a-package-on-pypi-using-poetry/#build-your-package" id="toc-build-your-package"&gt;Build your
package&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/publish-a-package-on-pypi-using-poetry/#publish-your-package" id="toc-publish-your-package"&gt;Publish your package&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/publish-a-package-on-pypi-using-poetry/#end-notes" id="toc-end-notes"&gt;End notes&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/nav&gt;
&lt;!--
.. title: Publish a package on PyPi using Poetry
.. slug: publish-a-package-on-pypi-using-poetry
.. date: 2020-04-23 21:31:25 UTC+02:00
.. tags: poetry, package, python
.. category: tutorial
.. link:
.. description: Tutorial to publish a package on PyPi using Poetry
.. type: text
--&gt;
&lt;p&gt;First thing first, you need Poetry if you don’t have it already.&lt;/p&gt;
&lt;p&gt;Poetry is the new standard for creating and managing virtual
environment for your Python project. It is also a Python dependency
management tool that is working differently as pip. It uses the new
standard &lt;code&gt;pyproject.toml&lt;/code&gt; decided by the Python Packaging
Authority with PEP-518. This file merges all the previous config files
that were necessary before, &lt;a href="http://setup.py/"&gt;&lt;code&gt;setup.py&lt;/code&gt;&lt;/a&gt;,
&lt;code&gt;requirements.txt&lt;/code&gt;, &lt;code&gt;setup.cfg&lt;/code&gt;, &lt;a href="http://manifest.in/"&gt;&lt;code&gt;MANIFEST.in&lt;/code&gt;&lt;/a&gt; et
&lt;code&gt;Pipfile&lt;/code&gt;, in one unique file to rule them all ! Ok, enough
of Lord of the Ring.&lt;/p&gt;
&lt;p&gt;I advise you to follow along with the &lt;a href="https://python-poetry.org/docs/cli/"&gt;documentation&lt;/a&gt; of poetry
open. &lt;/p&gt;&lt;p&gt;&lt;a href="https://brainsorting.com/posts/publish-a-package-on-pypi-using-poetry/"&gt;Read more…&lt;/a&gt; (3 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>package</category><category>poetry</category><category>python</category><guid>https://brainsorting.com/posts/publish-a-package-on-pypi-using-poetry/</guid><pubDate>Thu, 23 Apr 2020 19:31:25 GMT</pubDate></item></channel></rss>