Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Commit

Permalink
- Bump to version 5.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed Feb 25, 2020
1 parent 85a8ce4 commit 88f7b72
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
5.0.2 (February 25, 2020)
-------------------------

* Typo on avatar admin

5.0.1 (February 24, 2020)
-------------------------

Expand Down
2 changes: 1 addition & 1 deletion avatar/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '5.0.1'
__version__ = '5.0.2'
22 changes: 10 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
import codecs
import re
from os import path
try: # for pip >= 10
try:
# pip >=20
from pip._internal.network.session import PipSession
from pip._internal.req import parse_requirements
except ImportError:
try:
# 10.0.0 <= pip <= 19.3.1
from pip._internal.download import PipSession
pip_session = PipSession()
except ImportError: # for pip >= 20
from pip._internal.network.session import PipSession
pip_session = PipSession()
except ImportError: # for pip <= 9.0.3
try:
from pip.req import parse_requirements
from pip._internal.req import parse_requirements
except ImportError:
# pip <= 9.0.3
from pip.download import PipSession
pip_session = PipSession()
except ImportError: # backup in case of further pip changes
pip_session = 'hack'
from pip.req import parse_requirements

from setuptools import setup, find_packages


# Parse requirements.txt to get the list of dependencies
inst_req = parse_requirements('requirements.txt',
session=pip_session)
session=PipSession())
REQUIREMENTS = [str(r.req) for r in inst_req]

LONG_DESCRIPTION = """
Expand Down

0 comments on commit 88f7b72

Please sign in to comment.