dist fixes

This commit is contained in:
Milan Nikolic 2014-01-09 06:45:12 +01:00
parent 95e8e6b8e7
commit 9447a11130
5 changed files with 25 additions and 3 deletions

View file

@ -1,4 +1,4 @@
include setup.py m64py AUTHORS README ChangeLog COPYING LICENSES
recursive-include src *.py *.ui *.qrc *.svg *.png *.jpg
recursive-include src *.py *.ui *.qrc *.svg *.png *.jpg *.ts
recursive-include xdg *.desktop *.png *.xml
global-exclude *_ui.py *_rc.py

View file

@ -1,5 +1,5 @@
#!/bin/sh
apt-get -y install build-essential debhelper
apt-get -y install build-essential debhelper pyqt4-dev-tools
cp -fr ../debian/ ../../
cd ../../
dpkg-buildpackage -rfakeroot

21
dist/macosx/Info.plist vendored Normal file
View file

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict><key>CFBundleShortVersionString</key>
<string>0.1.8</string>
<key>CFBundleExecutable</key>
<string>m64py.sh</string>
<key>CFBundleName</key>
<string>M64Py</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleDisplayName</key>
<string>M64Py</string>
<key>CFBundleIconFile</key>
<string>m64py.icns</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>LSBackgroundOnly</key>
<string>1</string>
</dict>
</plist>

View file

@ -1,4 +1,5 @@
#!/bin/sh
yum install rpm-build PyQt4-devel -y
VERSION=`cat ../../src/m64py/core/defs.py | grep FRONTEND_VERSION | awk -F' = ' '{print $2}' | tr -d '"'`
sed "s/{VERSION}/$VERSION/g" m64py.spec.in > m64py.spec
cd ../../ && python setup.py sdist

View file

@ -1 +1 @@
c:\Python27\python.exe c:\m64py\pyinstaller\pyinstaller.py c:\m64py\dist\windows\m64py.spec
c:\Python27\python.exe c:\m64py\pyinstaller-2.1\pyinstaller.py c:\m64py\dist\windows\m64py.spec