Simplify the launcher

This commit is contained in:
Miro Hrončok 2015-07-08 14:43:14 +02:00
commit 01d95c61ea
2 changed files with 1 additions and 10 deletions

10
cura
View file

@ -1,15 +1,5 @@
#!/usr/bin/python
import os
import sys
import Cura.cura as cura
# Make all paths absolute, we are gonna change the pwd
for i in range(len(sys.argv)):
if os.path.exists(sys.argv[i]):
sys.argv[i] = os.path.abspath(sys.argv[i])
# change the pwd
os.chdir("/usr/lib/python2.7/site-packages/")
# start cura
cura.main()

View file

@ -121,6 +121,7 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2}
%changelog
* Wed Jul 08 2015 Miro Hrončok <mhroncok@redhat.com> - 15.02.1-4
- No longer depend on pypy
- Simplify the launcher
* Mon Jul 06 2015 Miro Hrončok <mhroncok@redhat.com> - 15.02.1-3
- Patch for #1230281