Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Commit

Permalink
Support pip version 10.0 and greater (#389)
Browse files Browse the repository at this point in the history
* Support pip version 10.0 and greater

* Add to CHANGELOG
  • Loading branch information
conscott authored and metachris committed Apr 18, 2018
1 parent 19e8f76 commit e34542b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -236,3 +236,4 @@ All notable changes to this project are documented in this file.
- added additional SC Api ( ``Neo.Runtime.GetTime``, ``Neo.Transaction.GetUnspentCoins``, ``Neo.Header.GetIndex``)
- added support for dynamically defined smart contract execution
- added ability to alias an address in the wallet
- added support for pip versions >= 10.0
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
"""The setup script."""

from setuptools import setup, find_packages
from pip.req import parse_requirements
from pip.download import PipSession
try: # pip version >= 10.0
from pip._internal.req import parse_requirements
from pip._internal.download import PipSession
except ImportError: # pip version < 10.0
from pip.req import parse_requirements
from pip.download import PipSession


with open('README.rst') as readme_file:
Expand Down

0 comments on commit e34542b

Please sign in to comment.