Updates for newer setuptools
This commit is contained in:
parent
8c2bb1198b
commit
dcc9f62651
|
@ -0,0 +1,2 @@
|
||||||
|
include FAHControl.desktop
|
||||||
|
recursive-include images *.png
|
6
setup.py
6
setup.py
|
@ -77,6 +77,7 @@ else:
|
||||||
scripts = [app],
|
scripts = [app],
|
||||||
data_files = [('/usr/share/pixmaps', ['images/FAHControl.png'])],
|
data_files = [('/usr/share/pixmaps', ['images/FAHControl.png'])],
|
||||||
install_requires = 'gtk2 >= 2.14.0',
|
install_requires = 'gtk2 >= 2.14.0',
|
||||||
|
include_package_data = True,
|
||||||
)
|
)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -113,6 +114,7 @@ setup(
|
||||||
package_data = {'fah': ['*.glade']},
|
package_data = {'fah': ['*.glade']},
|
||||||
**extra_opts)
|
**extra_opts)
|
||||||
|
|
||||||
with open('package-description.txt', 'w') as f:
|
if sys.platform == 'darwin':
|
||||||
f.write(short_description.strip())
|
with open('package-description.txt', 'w') as f:
|
||||||
|
f.write(short_description.strip())
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue