poiuyqwert / PyMS

Broodwar Modding Suite
48 stars 19 forks source link

Consider using package_data instead of data_files #123

Open sethmachine opened 5 years ago

sethmachine commented 5 years ago

Consider using the package_data parameter in the setup.py script instead of the data_files. It allows you to use glob patterns to specify which data files to put in the package, e.g.

package_data={'pyw3x':['data/storm/*.*', 'data/storm/win-64/*.*']}

(from https://github.com/sethmachine/pyw3x/blob/master/setup.py)