Browse Source

Drop support for EOL Python 3.4

pull/118/head
Hugo 3 years ago
parent
commit
6778c9985f
  1. 1
      .travis.yml
  2. 2
      appveyor.yml
  3. 2
      doc/History.rst
  4. 2
      doc/Install.rst
  5. 2
      olefile/__init__.py
  6. 6
      olefile/olefile.py
  7. 3
      setup.py
  8. 6
      winbuild/appveyor_install_pypy.cmd

1
.travis.yml

@ -4,7 +4,6 @@ cache: pip
matrix:
include:
- python: 2.7
- python: 3.4
- python: 3.5
- python: 3.6
- python: 3.7

2
appveyor.yml

@ -13,8 +13,6 @@ environment:
- PYTHON: "C:/Python36"
- PYTHON: "C:/Python35-x64"
- PYTHON: "C:/Python35"
- PYTHON: "C:/Python34-x64"
- PYTHON: "C:/Python34"
init:
- "ECHO %PYTHON%"
- ps: "ls C:/Python*"

2
doc/History.rst

@ -27,7 +27,7 @@ due to the maintenance of the olefile code in two repositories.
Main improvements over the original version of OleFileIO in PIL:
----------------------------------------------------------------
- Compatible with Python 3.4+ and 2.7+
- Compatible with Python 3.5+ and 2.7
- Many bug fixes
- Support for files larger than 6.8MB
- Support for 64 bits platforms and big-endian CPUs

2
doc/Install.rst

@ -5,7 +5,7 @@ How to Download and Install olefile
Pre-requisites
--------------
olefile requires Python 2.7 or 3.4+.
olefile requires Python 2.7 or 3.5+.
Download and Install

2
olefile/__init__.py

@ -4,7 +4,7 @@ olefile (formerly OleFileIO_PL)
Module to read/write Microsoft OLE2 files (also called Structured Storage or
Microsoft Compound Document File Format), such as Microsoft Office 97-2003
documents, Image Composer and FlashPix files, Outlook messages, ...
This version is compatible with Python 2.7 and 3.4+
This version is compatible with Python 2.7 and 3.5+
Project website: https://www.decalage.info/olefile

6
olefile/olefile.py

@ -4,7 +4,7 @@ olefile (formerly OleFileIO_PL)
Module to read/write Microsoft OLE2 files (also called Structured Storage or
Microsoft Compound Document File Format), such as Microsoft Office 97-2003
documents, Image Composer and FlashPix files, Outlook messages, ...
This version is compatible with Python 2.7 and 3.4+
This version is compatible with Python 2.7 and 3.5+
Project website: https://www.decalage.info/olefile
@ -22,11 +22,11 @@ Copyright (c) 1995-2009 by Fredrik Lundh
See source code and LICENSE.txt for information on usage and redistribution.
"""
# Since OleFileIO_PL v0.45, only Python 2.7 and 3.4+ are supported
# Since OleFileIO_PL v0.47, only Python 2.7 and 3.5+ are supported
# This import enables print() as a function rather than a keyword
# (main requirement to be compatible with Python 3.x)
# The comment on the line below should be printed on Python 2.5 or older:
from __future__ import print_function # This version of olefile requires Python 2.7 or 3.4+.
from __future__ import print_function # This version of olefile requires Python 2.7 or 3.5+.
#--- LICENSE ------------------------------------------------------------------

3
setup.py

@ -40,7 +40,6 @@ classifiers = [
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
@ -75,7 +74,7 @@ def main():
download_url=download_url,
# data_files=data_files,
# scripts=scripts,
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
)

6
winbuild/appveyor_install_pypy.cmd

@ -1,3 +1,3 @@
curl -fsSL -o pypy2.zip https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.9.0-win32.zip
7z x pypy2.zip -oc:\
c:\Python34\Scripts\virtualenv.exe -p c:\pypy2-v5.9.0-win32\pypy.exe c:\vp\pypy2
curl -fsSL -o pypy2.zip https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.9.0-win32.zip
7z x pypy2.zip -oc:\
c:\Python37\Scripts\virtualenv.exe -p c:\pypy2-v5.9.0-win32\pypy.exe c:\vp\pypy2

Loading…
Cancel
Save