def pip_notes():
os.system('cls' if sys.platform == 'win32' else 'clear')
pydoc.pager('''
If installing via PyPi (Python Pip) on Linux then you need to know that VidCutter
depends on the following packages, grouped by distro. Install using your
Linux software packager for a noticeably better integrated experience.
---[Ubuntu/Debian/Mint/etc]--------------------------
python3-dev libmpv1 libmpv-dev python3-pyqt5
python3-pyqt5.qtopengl ffmpeg mediainfo
---[Arch Linux]--------------------------------------
python mpv python-pyqt5 ffmpeg mediainfo
---[Fedora]------------------------------------------
python3-devel mpv-libs mpv-libs-devel python3-qt5
ffmpeg mediainfo
---[openSUSE]----------------------------------------
python3-devel libmpv1 mpv-devel python3-qt5
ffmpeg mediainfo
You need to build a Python extension module before you can run the
app directly from source code. This is done for you automatically by
the package installers but if you wish to simply run the app direct
from source without having to install it (i.e. python3 setup.py install)
you can do so by building the extension module with the following
setuptools command, run from the top-most extracted source code folder:
$ python3 setup.py build_ext -i
And to then run the app directly from source, from the same top-most
source code folder:
$ python3 -m vidcutter
To view all console output for debugging or general interest then
append the debug parameter:
$ python3 -m vidcutter --debug
Make sure you build the extension module AFTER installing the
dependencies covered above, in particular libmpv and the mpv + python3
dev headers are all needed for it to compile successfully. Compiled
extension modules under vidcutter/libs will look like:
mpv.cpython-36m-x86_64-linux-gnu.so [linux]
mpv.cp36-win_amd64.pyd [win32]
Windows users must do all this within a Visual Studio 2015/2017 Native x64/x86
Developer Command Prompt accessible from your Visual Studio program group
via the start menu. It's easier to just grab the prebuilt Windows installers
directly from:
https://github.com/ozmartian/vidcutter/releases/latest
''')
评论列表
文章目录