Virgil Dupras avatar Virgil Dupras committed 87bfd17

Fixed debian packaging

Comments (0)

Files changed (2)

 	dh_prep  
 	dh_installdirs
 
-	chmod +x src/start.py
+	chmod +x src/run.py
 	cp -R src/ $(CURDIR)/debian/moneyguru/usr/local/share/moneyguru
 	cp $(CURDIR)/debian/moneyguru.desktop $(CURDIR)/debian/moneyguru/usr/share/applications
-	ln -s /usr/local/share/moneyguru/start.py $(CURDIR)/debian/moneyguru/usr/local/bin/moneyguru
+	ln -s /usr/local/share/moneyguru/run.py $(CURDIR)/debian/moneyguru/usr/local/bin/moneyguru
 
 
 # Build architecture-independent files here.
         shutil.rmtree('build')
     destpath = op.join('build', 'moneyguru-{0}'.format(MoneyGuru.VERSION))
     srcpath = op.join(destpath, 'src')
-    os.makedirs(destpath)
-    shutil.copytree('qt', srcpath)
-    copy_packages(['hscommon', 'hsgui', 'core', 'qtlib', 'hsutil'], srcpath)
+    os.makedirs(srcpath)
+    shutil.copy('run.py', op.join(srcpath, 'run.py'))
+    copy_packages(['qt', 'hscommon', 'hsgui', 'core', 'qtlib', 'hsutil'], srcpath)
     import sip, PyQt4, sgmllib
     shutil.copy(sip.__file__, srcpath)
     qtsrcpath = op.dirname(PyQt4.__file__)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.