diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..062d6b1 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include FAHControl.desktop +recursive-include images *.png diff --git a/setup.py b/setup.py index c38ce8b..c2928e6 100644 --- a/setup.py +++ b/setup.py @@ -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())