Skip to content

Commit

Permalink
Merge 8944c6c into 0a860ea
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed May 24, 2019
2 parents 0a860ea + 8944c6c commit daee6f7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion pyproj/enums.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
"""
This module contains enumerations used in pyproj.
"""
from aenum import Enum
import sys

if sys.version_info >= (3, 6):
from enum import Enum
else:
# _missing_ was only added in Python 3.6, using aenum for older versions
from aenum import Enum

from pyproj.compat import string_types

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,5 +235,5 @@ def get_version():
packages=["pyproj"],
ext_modules=get_extension_modules(),
package_data=get_package_data(),
install_requires=["aenum"],
install_requires=['aenum;python_version<"3.6"'],
)

0 comments on commit daee6f7

Please sign in to comment.