wok annotate python-pbr/description.txt @ rev 25672
Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 26 14:07:44 2024 +0000 (10 months ago) |
parents | |
children |
rev | line source |
---|---|
Hans-G?nter@25216 | 1 PBR is a library that injects some useful and sensible default behaviors |
Hans-G?nter@25216 | 2 into your setuptools run. |
Hans-G?nter@25216 | 3 It started off life as the chunks of code that were copied between all |
Hans-G?nter@25216 | 4 of the OpenStack projects. Around the time that OpenStack hit 18 different |
Hans-G?nter@25216 | 5 projects each with at least 3 active branches, it seemed like a good time |
Hans-G?nter@25216 | 6 to make that code into a proper reusable library. |
Hans-G?nter@25216 | 7 |
Hans-G?nter@25216 | 8 PBR is only mildly configurable. |
Hans-G?nter@25216 | 9 The basic idea is that there's a decent way to run things and if you do, |
Hans-G?nter@25216 | 10 you should reap the rewards, because then it's simple and repeatable. |
Hans-G?nter@25216 | 11 If you want to do things differently, cool! But you've already got the |
Hans-G?nter@25216 | 12 power of Python at your fingertips, so you don't really need PBR. |
Hans-G?nter@25216 | 13 |
Hans-G?nter@25216 | 14 PBR builds on top of the work that d2to1 started to provide for |
Hans-G?nter@25216 | 15 declarative configuration. |
Hans-G?nter@25216 | 16 d2to1 is itself an implementation of the ideas behind distutils2. |
Hans-G?nter@25216 | 17 Although distutils2 is now abandoned in favor of work towards PEP 426 |
Hans-G?nter@25216 | 18 and Metadata 2.0, declarative config is still a great idea and |
Hans-G?nter@25216 | 19 specifically important in trying to distribute setup code as a library |
Hans-G?nter@25216 | 20 when that library itself will alter how the setup is processed. |
Hans-G?nter@25216 | 21 As Metadata 2.0 and other modern Python packaging PEPs come out, PBR aims |
Hans-G?nter@25216 | 22 to support them as quickly as possible. |