mirror of
https://github.com/coursera-dl/coursera-dl.git
synced 2026-07-17 16:35:35 +00:00
Use io.open in setup.py for compatibility with Python 2.7
This commit is contained in:
parent
ca21f41582
commit
0667dd45da
1 changed files with 4 additions and 1 deletions
5
setup.py
5
setup.py
|
|
@ -10,6 +10,8 @@ from __future__ import print_function
|
|||
import os.path
|
||||
import subprocess
|
||||
import sys
|
||||
# For compatibility with Python2.7
|
||||
from io import open
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
|
|
@ -100,7 +102,8 @@ setup(
|
|||
|
||||
description='Script for downloading Coursera.org videos and naming them.',
|
||||
long_description=long_description,
|
||||
keywords=['coursera-dl', 'coursera', 'download', 'education', 'MOOCs', 'video'],
|
||||
keywords=['coursera-dl', 'coursera',
|
||||
'download', 'education', 'MOOCs', 'video'],
|
||||
classifiers=trove_classifiers,
|
||||
|
||||
packages=["coursera"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue