Brian May <br...@microcomaustralia.com.au> writes:

> How do you ensure that files installed using package_data have sane
> permissions?

I'm fairly sure Setuptools (and Distutils) don't have any API for
changing the mode of files installed with the ‘package_data’ feature.

<URL:http://pythonhosted.org/setuptools/setuptools.html#including-data-files>
in case that helps.

So apart from the usual “hack the process by making your own Command
subclass”, I think there's no better way.

-- 
 \        “Absurdity, n. A statement or belief manifestly inconsistent |
  `\            with one's own opinion.” —Ambrose Bierce, _The Devil's |
_o__)                                                Dictionary_, 1906 |
Ben Finney

_______________________________________________
melbourne-pug mailing list
melbourne-pug@python.org
https://mail.python.org/mailman/listinfo/melbourne-pug

Reply via email to