pypa / setuptools

Official project repository for the Setuptools build system
https://pypi.org/project/setuptools/
MIT License
2.54k stars 1.19k forks source link

New feature, an option that allows installing arbitrary binary files to the bin or Scripts directories #583

Open yaoking opened 8 years ago

yaoking commented 8 years ago

Hi jaraco, I think you're right to avoid hacking scripts to be supported. But, for internal use, we need this feature to install current bin tools. As you commented on #210, we prefer the first suggestion. "•A new feature, an option that allows installing arbitrary binary files to the bin or Scripts directories" Please help implement this feature, Thanks!

jaraco commented 8 years ago

Hello @yaoking. Thanks for filing the ticket. Unfortunately, I will only be able to review proposed patches to implement such functionality. I don't have the spare cycles to implement it myself. I'll do what I can muster to help review and refine a solution.

hsiaoyi0504 commented 6 years ago

Is there any update for this ?

CermakM commented 6 years ago

+1 Also interested in the feature.

ntc2 commented 5 years ago

For simple cases at least you can just use data_files instead. See https://github.com/pypa/setuptools/issues/210#issuecomment-449696043 for more details.