silentsokolov / django-admin-rangefilter

A Django app that lets you filter data by date range and numeric range in the admin UI
MIT License
713 stars 106 forks source link

Pip install fails in Python 2.7 for version 0.3.4 #15

Closed thulasi-ram closed 6 years ago

thulasi-ram commented 6 years ago

Changes made in commit is preventing installation of version 0.3.4 in Python 2.7: https://github.com/silentsokolov/django-admin-rangefilter/commit/718ed5ca1454139f672a52a2263ac2f185a8258d

def read_md(f):
    return open(f, 'r', encoding='utf-8').read()

pip install django-admin-rangefilter fails with TypeError: 'encoding' is an invalid keyword argument for this function

pip install django-admin-rangefilter==0.3.3 doesn't.

screen shot 2018-04-16 at 2 43 19 pm
silentsokolov commented 6 years ago

Thx, fix