Updates for newer setuptools

This commit is contained in:
Joseph Coffland 2015-04-27 15:36:32 -07:00
parent 8c2bb1198b
commit dcc9f62651
2 changed files with 6 additions and 2 deletions

2
MANIFEST.in Normal file
View File

@ -0,0 +1,2 @@
include FAHControl.desktop
recursive-include images *.png

View File

@ -77,6 +77,7 @@ else:
scripts = [app],
data_files = [('/usr/share/pixmaps', ['images/FAHControl.png'])],
install_requires = 'gtk2 >= 2.14.0',
include_package_data = True,
)
try:
@ -113,6 +114,7 @@ setup(
package_data = {'fah': ['*.glade']},
**extra_opts)
with open('package-description.txt', 'w') as f:
f.write(short_description.strip())
if sys.platform == 'darwin':
with open('package-description.txt', 'w') as f:
f.write(short_description.strip())