In order use setup.py locally, it needs to be executable. Also, it is easier to call with a hashbang.
:thumbsup:
Don't most projects run python setup.py instead of ./setup.py?
python setup.py
./setup.py
I have not contributed to enough python projects so say what most projects do, but this is the only one that I have met whose setup.py is not runnable with ./setup.py. I have only started with Python because it is in heavy use in Fedora, the others where I have done something are rpkg, fedpkg, FedoraReview and anitya.
setup.py
rpkg
fedpkg
FedoraReview
anitya
I think that main reason fro "general" python projects is portability to e.g. windows where hashbang doesn't help. setuptools examples shows it with python setup.py. On the other hand there is no harm in making it executable as we're hardly "general" project.
setuptools
Metadata Update from @tkopecek: - Pull-request tagged with: no_qe
Commit f85f8951 fixes this pull-request
Pull-Request has been merged by tkopecek
In order use setup.py locally, it needs to be executable.
Also, it is easier to call with a hashbang.