python packaging: basic setup.py and declarative metadata (intermediate) anthony explains #057

preview_player
Показать описание


==========

I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!
Рекомендации по теме
Комментарии
Автор

This man's brain is running at a frequency that I can't even fathom. Really cool, informative video. Exactly what I'm looking for.

alexkennedy
Автор

This was extremely more helpful than dealing with StackOverflow jerks. Thank you for this.

WatchNev
Автор

Legendary, as basic as this is, it was something I was looking for. Top lad

calmdo-able
Автор

@anythonywritescode I liked this video and thought that you did a great job explaining how to do the setup file. I look forward to watching more of your content and learning how to package software correctly.

MrOxford
Автор

First I saw the video for 2 minutes, then I realized I also need to watch other things other than the keyboard. So I came to comment this and will continue the video again

ajinkyarathod
Автор

Thanks man this was very cool and informative.

tombraril
Автор

Great tutorial! It helped me setup this program called babi

ericng
Автор

at first, i though he was gonna make one project with the left hand and another with the right hand at the same time.... bummer.

ulfgj
Автор

Do you know about poetry and what do you think about such tools?
And for the find packages in setup.cfg you can specify where to look, so you could do a src directory where you put your package( s), no meed to exclude any new or other folders like docs etc.

jfk
Автор

I am new to python and am trying to get up to speed on it. I understand that we could re-write a setup.cfg file easier than setup.py file, but why would we need to programmatically re-write this data in the first place? Maybe a few example cases when we would need to change this data would be helpful.

jspreddy
Автор

A short tutorial on pyscaffold package will be helpful. Could you do one please? Thanks.

brainmri
Автор

what is the blue icon ad on you have in your browser. how about the one next to it?

scillabiffolia
Автор

If we want to declare two setup package in setup.cfg how can we do it. As it will have two "name, version, etc.

anand
Автор

How would you deal with automating the version in the setup.cfg when building the package if you’d have the version defined somewhere in an <pkgname>/ __version__.py or similar.

jbrnds
Автор

Thx again - these "small" examples/tips are right what I need :thumbsup: !
What is the reason for using `exit(main))` instead of just `main()` in main.py?

guntbert
Автор

hi atually I passed -e . in requirements.txt but I am getting ERROR: File "setup.py" no found.Directory cannot be installed in editable mode.

manoharkulat
Автор

how do you include stub (.pyi) files in the package with setuptools

meeexy
Автор

Please help me understand the following Python behavior:
def foo():
x = 1024
my_list = [1024]

def helper():
x = 2048
my_list[0] = 2048

return

helper()
print(x) # Stuck at 1024 😞
print(my_list[0]) # Changed to 2048 🙂
return

foo()


Thanks!

prafullakh
Автор

Link to "pyproject.toml explained" is missing (:

RuslanKovtun
Автор

Hi. Nice tutorial, how do we handle custom commands via cmdclass in setup.cfg?

vandykfernandes