[arch-dev-public] Improving the package guidelines

Eli Schwartz eschwartz at archlinux.org
Thu Jun 28 22:19:54 UTC 2018


On 06/28/2018 05:59 PM, Felix Yan wrote:
> The main reason behind this (or why I started doing this) was sometimes
> the tests run inside the sources tree made both versions' .pyc files
> into the tree itself, and finally end up in the package. I had this
> problem for several times and end up having the separated build
> directories as template for new packages.
> 
> This seems not the case for most packages now, so I agree that it should
> be avoided.

Hmm, that's quite interesting. From what I've seen, both pytest and
`python setup.py test` (at least today) use the copy of the code from
outside of build/ when running unittests, which I suppose probably makes
sense as it is running right alongside the unittests themselves.

-- 
Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-dev-public/attachments/20180628/4f03634d/attachment.asc>


More information about the arch-dev-public mailing list