Commit 41889d62 authored by Miro Hrončok's avatar Miro Hrončok

Added missing files to setup.py

If I install Printrun via setup.py, I don't have gcoder.py and I cannot even
use pronterface.py:

Traceback (most recent call last):
  File "/bin/pronterface.py", line 46, in <module>
    import pronsole
  File "/usr/bin/pronsole.py", line 23, in <module>
    from gcoder import GCode

So I've added this to setup.py.

Also, pronsole.ico is missing, added that to (not needed at runtime, but is
usefull for desktop files)
parent 6fa47668
......@@ -112,7 +112,7 @@ if sys.argv[1] in ("install", "uninstall") and len (prefix):
sys.argv += ["--prefix", prefix]
target_images_path = "share/pronterface/images/"
data_files = [('share/pixmaps/', ['P-face.ico','plater.ico'])]
data_files = [('share/pixmaps/', ['P-face.ico','plater.ico','pronsole.ico'])]
for basedir, subdirs, files in os.walk("images"):
images = []
......@@ -145,7 +145,7 @@ setup (
license = "GPLv3",
data_files = data_files,
packages = ["printrun", "printrun.svg"],
scripts = ["pronsole.py", "pronterface.py", "plater.py", "printcore.py"],
scripts = ["pronsole.py", "pronterface.py", "plater.py", "printcore.py", "gcoder.py"],
cmdclass = {"uninstall" : uninstall,
"install" : install,
"install_data" : install_data}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment