File: //usr/share/inkscape/extensions/uniconv-ext.pyo
�
��Yc @ s� d Z d d l Z d d l m Z d d l Z d Z y� d d l m Z m Z e d d e
d e d e �j � Z e d k r� d Z n9 e d
d e
d e d e �j � Z e d k r� d
Z n Wnu e
k
r7d d l m Z e d
e
� j � Z e d k r
d
Z n e d e
� j � Z e d k r8d Z q8n Xe d k r�y d d l Z e j d � WnK e
k
r�e j � e j e d
d d d d � � e j d � n Xd Z n e e d e j d j d d � d � d S( s
uniconv-ext.py
Python script for running UniConvertor in Inkscape extensions
Copyright (C) 2008 Stephen Silver
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
i����N( t run( t Popent PIPEt uniconvertort shellt stdoutt stderri t uniconv( t Popen3i s/ You need to install the UniConvertor software.
s8 For GNU/Linux: install the package python-uniconvertor.
s For Windows: download it from
sR https://sk1project.net/modules.php?name=Products&product=uniconvertor&op=download
s1 and install into your Inkscape's Python location
i s; python -c "import uniconvertor; uniconvertor.uniconv_run()"s "%s" "%%s"t %s %%t UniConvertor( t __doc__t syst run_commandR t inkext Nonet cmdt
subprocessR R t Truet waitt pt ImportErrort popen2R t impt find_modulet localizet errormsgt _t exitt argvt replace( ( ( s- /usr/share/inkscape/extensions/uniconv-ext.pyt <module> s@ $ $