m3u8
m3u8 copied to clipboard
installation broken.
The package needs clear working setup instructions.
currently i get:
% ./setup.py
./setup.py: line 1: from: command not found
./setup.py: line 3: from: command not found
./setup.py: line 5: long_description: command not found
./setup.py: line 6: syntax error near unexpected token "README.rst"' ./setup.py: line 6:
if exists("README.rst"):'
As with most other Python packages, installation is done with pip
.
To install the currently released version, do pip install m3u8
.
To install from a local copy, do pip install .
.
It might be a good idea to spell this out in the project's readme, but this is the most common method for installing Python projects and it would be surprising if the installation needed to work some other way.
This seems to sidestep the problem for both modules iso8601 and m3u8
python -m pip install --upgrade --no-cache-dir --use-deprecated=legacy-resolver <your_package>
Instructions by @bbayles worked for me. Created an wiki page: https://github.com/globocom/m3u8/wiki/Installing
Thank you @nedmax