From fe21725f07ee9511a5c5536d34c18194c12989ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pasternak?= Date: Mon, 29 May 2017 09:04:38 +0200 Subject: [PATCH] Please replace pycrypto with pycryptodome (#63) * Enable 3.6 and replace pycrypto with cryptodome * Upgrade version number --- .travis.yml | 25 +++++++++++++------------ pdfminer/__init__.py | 2 +- setup.py | 2 +- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 50b7aea..264627f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,13 @@ -language: python -python: - - "2.6" - - "2.7" - - "3.4" - - "3.5" -install: - - pip install six - - pip install pycrypto - - pip install chardet -script: - nosetests --nologcapture +language: python +python: + - "2.6" + - "2.7" + - "3.4" + - "3.5" + - "3.6" +install: + - pip install six + - pip install pycryptodome + - pip install chardet +script: + nosetests --nologcapture diff --git a/pdfminer/__init__.py b/pdfminer/__init__.py index af50787..15770c2 100644 --- a/pdfminer/__init__.py +++ b/pdfminer/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -__version__ = '20170419' +__version__ = '20170510' if __name__ == '__main__': print (__version__) diff --git a/setup.py b/setup.py index 8ea6d06..a7dd83a 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup from pdfminer import __version__ import sys -requires = ['six', 'pycrypto'] +requires = ['six', 'pycryptodome'] if sys.version_info >= (3, 0): requires.append('chardet')