Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2023.01, v2023.04-rc2 / Merge Window is CLOSED, next branch is OPEN / Release v2023.04 is scheduled for 2023-04-03 / Channel archives at https://libera.irclog.whitequark.org/u-boot
mmu_man has joined #u-boot
WoC has joined #u-boot
vfazio__ has joined #u-boot
vfazio_ has quit [Read error: Connection reset by peer]
ccf has quit [Ping timeout: 248 seconds]
naoki has quit [Quit: naoki]
stefanro has joined #u-boot
qschulz has quit [Read error: Connection reset by peer]
qschulz has joined #u-boot
goliath has quit [Quit: SIGSEGV]
vagrantc has joined #u-boot
thopiekar has quit [Ping timeout: 255 seconds]
thopiekar_ has joined #u-boot
camus has joined #u-boot
mmu_man has quit [Ping timeout: 248 seconds]
vagrantc has quit [Quit: leaving]
naoki has joined #u-boot
naoki has quit [Quit: naoki]
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #u-boot
persmule has quit [Remote host closed the connection]
naoki has joined #u-boot
naoki has quit [Client Quit]
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #u-boot
ikarso has joined #u-boot
ccf has joined #u-boot
camus has quit [Remote host closed the connection]
camus has joined #u-boot
ide12 has quit [Ping timeout: 260 seconds]
ide12 has joined #u-boot
ccf has quit [Ping timeout: 246 seconds]
goliath has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
mmu_man has joined #u-boot
persmule has joined #u-boot
hanetzer has joined #u-boot
Leopold_ has joined #u-boot
Leopold has quit [Ping timeout: 246 seconds]
Leopold_ is now known as Leopold
mmu_man has quit [Ping timeout: 268 seconds]
mmu_man has joined #u-boot
ccf has joined #u-boot
ikarso has joined #u-boot
camus has quit [Remote host closed the connection]
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #u-boot
mmu_man has quit [Ping timeout: 246 seconds]
mmu_man has joined #u-boot
vagrantc has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
hanetzer has quit [Quit: WeeChat 3.8]
d-s-e has joined #u-boot
d-s-e has quit [Client Quit]
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #u-boot
Gravis_ has joined #u-boot
Gravis has quit [Ping timeout: 268 seconds]
apritzel_ has joined #u-boot
vagrantc_ has joined #u-boot
<Forty-Bot> sjg1: why not just use setup.py?
<Forty-Bot> and then you do (cd tools/patman && python3 setup.py sdist)
<Forty-Bot> oh, of course there are problems since we do import shenanigans to make everything in the top-level directory
naoki has joined #u-boot
<sjg1> Forty-Bot: But I want to upload it to pypi
<Forty-Bot> ok?
<Forty-Bot> you don't have to do it that way if you don't need to
ccf has quit [Ping timeout: 252 seconds]
<Forty-Bot> pypi doesn't care how you built/uploaded your package
<Forty-Bot> you just need to build an sdist and then run `twine upload dist/...`
<Forty-Bot> (if you want to use twine)
vagrantc has quit [Quit: leaving]
vagrantc_ is now known as vagrantc
hanetzer has joined #u-boot
<sjg1> Forty-Bot: Hmm so that is python setup.py bdist_wheel
<sjg1> Forty-Bot: But I still need a .cfg file or something, to specify the dependencies?
<Forty-Bot> you can do bdists if you want but I don't see the point for packages without shared libraries
<sjg1> Forty-Bot: Are you saying that the toml format just doesn't work for what you are suggesting?
<Forty-Bot> no; you just have to know to install setuptools first
<Forty-Bot> I'm sure it works... it's just a lot of additional complexity IMO and it's still fairly new
<sjg1> Forty-Bot: I mean the u_boot_lib dependency
<Forty-Bot> oh uh, not sure
<Forty-Bot> I'm experimenting a bit
<Forty-Bot> I think you should be able to do
<Forty-Bot> package-dir = { "" = ".." }
<Forty-Bot> packages = ["u_boot_pylib"]
<sjg1> Forty-Bot: Also what happens if you install both 'patman' and 'patman-package'...? Does PyPi detect duplicate lib/ directories ?
<Forty-Bot> not sure
* Forty-Bot tries it out
<sjg1> Forty-Bot: Hmmm
<Forty-Bot> well, it sure has a lot of deps
<sjg1> Forty-Bot: https://www.endtoend.ai/tutorial/publish-a-python-package-to-pypi/#:~:text=PyPI%20does%20not%20allow%20duplicate,to%20publish%20as%20a%20package.
<sjg1> Perhaps it does allow duplicate dirs. If someone installs both packages then I suppose one of them will get overwritten?
<sjg1> But then should be possible to do this with toml
<Forty-Bot> yup
<Forty-Bot> if you install pypi patman the original patman is nuked
<Forty-Bot> but this is why we have virtualenvs
<sjg1> OK. So could you take a look and see if there is a property to do this with toml?
<sjg1> Forty-Bot: You can specify setup options, by the look of it
<sjg1> Forty-Bot: OK I will try again
goliath has quit [Quit: SIGSEGV]