Remove future usage
There's no good reason to use it, and the future package is a pain to install as it easily breaks the system and compatibility with other Python packages.
This commit is contained in:
parent
740dd1f0bc
commit
fdccd314b8
@ -31,7 +31,6 @@ kinds of time expressions.
|
||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
||||
from builtins import dict, int
|
||||
import re
|
||||
|
||||
SIGN = r'(?P<sign>[+|-])?'
|
||||
|
11
setup.py
11
setup.py
@ -22,11 +22,6 @@ with open(path.join(HERE, 'pytimeparse', 'VERSION'), encoding='utf-8') as f:
|
||||
with open(path.join(HERE, 'README.rst'), encoding='utf-8') as f:
|
||||
LONG_DESCRIPTION = f.read()
|
||||
|
||||
# http://stackoverflow.com/a/19719657/1062499
|
||||
INSTALL_REQUIRES = []
|
||||
if sys.version_info.major == 2:
|
||||
INSTALL_REQUIRES.append('future >= 0.14')
|
||||
|
||||
setup(
|
||||
name='pytimeparse',
|
||||
|
||||
@ -81,12 +76,6 @@ setup(
|
||||
# simple. Or you can use find_packages().
|
||||
packages=find_packages(exclude=[]),
|
||||
|
||||
# List run-time dependencies here. These will be installed by pip when your
|
||||
# project is installed. For an analysis of "install_requires" vs pip's
|
||||
# requirements files see:
|
||||
# https://packaging.python.org/en/latest/requirements.html
|
||||
install_requires=INSTALL_REQUIRES,
|
||||
|
||||
# List additional groups of dependencies here (e.g. development dependencies).
|
||||
# You can install these using the following syntax, for example:
|
||||
# $ pip install -e .[dev,test]
|
||||
|
Loading…
Reference in New Issue
Block a user