Skip to content

Commit

Permalink
Install enum 34 if python version is lower than 3.4.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 285436201
Change-Id: Idacf0059d86010c50bac61ee32449c575d5c53b0
  • Loading branch information
joejoevictor authored and copybara-github committed Dec 13, 2019
1 parent 48038f5 commit 15a6f6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

"""The setup.py file for Python Fire."""

import sys
from setuptools import setup


LONG_DESCRIPTION = """
Python Fire is a library for automatically generating command line interfaces
(CLIs) with a single line of code.
Expand All @@ -32,7 +32,7 @@
DEPENDENCIES = [
'six',
'termcolor',
]
] + (['enum34'] if sys.version < 3.4 else [])

TEST_DEPENDENCIES = [
'hypothesis',
Expand Down

0 comments on commit 15a6f6b

Please sign in to comment.