<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-setuptools-git.git/setuptools/command/egg_info.py, branch v60.0.0</title>
<subtitle>github.com: pypa/setuptools.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/'/>
<entry>
<title>Use warning instead of log for distutils command</title>
<updated>2021-11-05T14:14:29+00:00</updated>
<author>
<name>Anderson Bravalheri</name>
<email>andersonbravalheri@gmail.com</email>
</author>
<published>2021-11-05T14:14:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=e2220331136c3a60b8d70a6b4eaad05816c9b637'/>
<id>e2220331136c3a60b8d70a6b4eaad05816c9b637</id>
<content type='text'>
As discussed in #2855, using an actual warning instead of the logger
allow users to control what gets displayed via warning filters.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As discussed in #2855, using an actual warning instead of the logger
allow users to control what gets displayed via warning filters.
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle custom build_py inheriting from distutils</title>
<updated>2021-11-04T13:08:16+00:00</updated>
<author>
<name>Anderson Bravalheri</name>
<email>andersonbravalheri@gmail.com</email>
</author>
<published>2021-11-04T12:30:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=08235e88d10179c89ed80a4dd9bf2d18c76b478d'/>
<id>08235e88d10179c89ed80a4dd9bf2d18c76b478d</id>
<content type='text'>
According to #2849, some projects, including important data-science
packages rely on `distutils` when creating custom commands, instead of
extending the ones provided by setuptools.

This change should accomodate this use case, while also warning the
users to migrate.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to #2849, some projects, including important data-science
packages rely on `distutils` when creating custom commands, instead of
extending the ones provided by setuptools.

This change should accomodate this use case, while also warning the
users to migrate.
</pre>
</div>
</content>
</entry>
<entry>
<title>Reformat docstring and rewrite in imperative voice.</title>
<updated>2021-11-03T01:39:32+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2021-11-03T00:54:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=2d38be3259311220d069996b3a906f171dfddafc'/>
<id>2d38be3259311220d069996b3a906f171dfddafc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix 1461: Better loop breaker for `manifest_maker`</title>
<updated>2021-11-01T20:50:58+00:00</updated>
<author>
<name>Anderson Bravalheri</name>
<email>andersonbravalheri@gmail.com</email>
</author>
<published>2021-11-01T19:47:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=2e66eb7147ae1e8a799b2276c7340f48f63a7220'/>
<id>2e66eb7147ae1e8a799b2276c7340f48f63a7220</id>
<content type='text'>
The inconsistency for the `package_data` configuration in sdists
when `include_package_data=True` in #1461 have been causing some
problems for the community for a while, as also shown in #2835.

As pointed out by
[@jaraco](https://github.com/pypa/setuptools/issues/1461#issuecomment-749092366),
this was being caused by a mechanism to break the recursion between the
`egg_info` and `sdist` commands.

In summary the loop is caused by the following behaviour:

- the `egg_info` command uses a subclass of `sdist` (`manifest_maker`)
  to calculate the MANIFEST,
- the `sdist` class needs to know the MANIFEST to calculate the data files when
  `include_package_data=True`

Previously, the mechanism to break this loop was to simply ignore
the data files in `sdist` when `include_package_data=True`.

The approach implemented in this change was to replace this mechanism,
by allowing `manifest_maker` to override the `_safe_data_files` method
from `sdist`.

---

Please notice [an extensive experiment]
(https://github.com/abravalheri/experiment-setuptools-package-data)
was carried out to investigate the previous confusing behaviour.

There is also [a simplified theoretical analysis]
(https://github.com/pyscaffold/pyscaffold/pull/535#issuecomment-956296407)
comparing the observed behavior in the experiment and the expected
one. This analysis point out to the same offender indicated by
[@jaraco](https://github.com/pypa/setuptools/issues/1461#issuecomment-749092366)
(which is being replaced in this change).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The inconsistency for the `package_data` configuration in sdists
when `include_package_data=True` in #1461 have been causing some
problems for the community for a while, as also shown in #2835.

As pointed out by
[@jaraco](https://github.com/pypa/setuptools/issues/1461#issuecomment-749092366),
this was being caused by a mechanism to break the recursion between the
`egg_info` and `sdist` commands.

In summary the loop is caused by the following behaviour:

- the `egg_info` command uses a subclass of `sdist` (`manifest_maker`)
  to calculate the MANIFEST,
- the `sdist` class needs to know the MANIFEST to calculate the data files when
  `include_package_data=True`

Previously, the mechanism to break this loop was to simply ignore
the data files in `sdist` when `include_package_data=True`.

The approach implemented in this change was to replace this mechanism,
by allowing `manifest_maker` to override the `_safe_data_files` method
from `sdist`.

---

Please notice [an extensive experiment]
(https://github.com/abravalheri/experiment-setuptools-package-data)
was carried out to investigate the previous confusing behaviour.

There is also [a simplified theoretical analysis]
(https://github.com/pyscaffold/pyscaffold/pull/535#issuecomment-956296407)
comparing the observed behavior in the experiment and the expected
one. This analysis point out to the same offender indicated by
[@jaraco](https://github.com/pypa/setuptools/issues/1461#issuecomment-749092366)
(which is being replaced in this change).
</pre>
</div>
</content>
</entry>
<entry>
<title>Overwrite exlude from MANIFEST with license_files option</title>
<updated>2021-05-22T23:42:45+00:00</updated>
<author>
<name>Marc Mueller</name>
<email>30130371+cdce8p@users.noreply.github.com</email>
</author>
<published>2021-04-17T19:33:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=482e8e7687e3272ca2d0b1d5d73b92c3219f4576'/>
<id>482e8e7687e3272ca2d0b1d5d73b92c3219f4576</id>
<content type='text'>
* needed for 'License-File' metadata, as this is written
  before MANIFEST is read
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* needed for 'License-File' metadata, as this is written
  before MANIFEST is read
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove license_files_computed field</title>
<updated>2021-05-22T23:42:45+00:00</updated>
<author>
<name>Marc Mueller</name>
<email>30130371+cdce8p@users.noreply.github.com</email>
</author>
<published>2021-05-19T23:24:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=b16725ac388b6a0bab6c0ff79d809559589be248'/>
<id>b16725ac388b6a0bab6c0ff79d809559589be248</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add License-File field to package metadata</title>
<updated>2021-05-22T23:42:43+00:00</updated>
<author>
<name>Marc Mueller</name>
<email>30130371+cdce8p@users.noreply.github.com</email>
</author>
<published>2021-04-17T18:48:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=3544de73b3662a27fac14d8eb9f5c841668d66de'/>
<id>3544de73b3662a27fac14d8eb9f5c841668d66de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Merge pull request #2533 from pypa/fix/2529"</title>
<updated>2021-01-17T03:08:58+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2021-01-17T03:05:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=5156278555fa20234db59f81097bee8cd7b5aaf4'/>
<id>5156278555fa20234db59f81097bee8cd7b5aaf4</id>
<content type='text'>
This reverts commit ef457b2e4eb215ab9d730afbd61a10ed3b118d3c, reversing
changes made to d2b1f7ebd6ebd57b4a50bc6660e93b31129bacb4.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit ef457b2e4eb215ab9d730afbd61a10ed3b118d3c, reversing
changes made to d2b1f7ebd6ebd57b4a50bc6660e93b31129bacb4.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2518 from webknjaz/maintenance/flake8-mccabe-complexity</title>
<updated>2021-01-16T22:01:05+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2021-01-16T22:01:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=470dd358c2f1fc3c8a9a9348d157fae3f6989961'/>
<id>470dd358c2f1fc3c8a9a9348d157fae3f6989961</id>
<content type='text'>
Enable McCabe complexity check in flake8</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enable McCabe complexity check in flake8</pre>
</div>
</content>
</entry>
<entry>
<title>Correctly handle normalized tags</title>
<updated>2021-01-15T20:28:14+00:00</updated>
<author>
<name>Dustin Ingram</name>
<email>di@users.noreply.github.com</email>
</author>
<published>2021-01-15T20:19:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=ed07f8b124f75b43e27e5d636484898476a0be4f'/>
<id>ed07f8b124f75b43e27e5d636484898476a0be4f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
