Installation
Installation¶
From Source¶
- Clone the repository:
git clone https://github.com/DarkDemiurg/pymp4v2.git
cd pymp4v2
- Install build dependencies:
pip install -e .[dev]
- Build and install the package:
python setup.py build_ext --inplace
pip install -e .
Development Installation¶
For development, you might want to install additional tools:
pip install -e .[dev]
Building from Source¶
Windows¶
- Install Visual Studio 2022 with C++ support
- Install Python 3.9+
- Install CMake and add it to PATH
- Open Developer Command Prompt for VS 2022
- Run the build:
python setup.py build_ext
Linux¶
Install build dependencies:
# Ubuntu/Debian
sudo apt-get update
sudo apt-get install build-essential cmake ninja-build git python3-dev
# CentOS/RHEL
sudo yum groupinstall "Development Tools"
sudo yum install cmake ninja-build git python3-devel
Run the build:
python setup.py build_ext