[melbourne-pug] setuptools package_data permissions

2015-03-30 Thread Brian May
Hello, How do you ensure that files installed using package_data have sane permissions? I am getting data files installed with mod 600, so only root can access them. The *.py files seem fine however. from setuptools import setup, find_packages with open('VERSION.txt', 'r') as f: version =

Re: [melbourne-pug] setuptools package_data permissions

2015-03-30 Thread Ben Finney
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.