Skip to content

Commit

Permalink
Merge pull request #105 from PyUtilib/revert-104-revert-101-remove_enum
Browse files Browse the repository at this point in the history
Revert "Revert "Remove pyutilib.enum""
  • Loading branch information
jsiirola authored Jun 18, 2020
2 parents dfde5f2 + c3e1d3b commit 9d9b95a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 858 deletions.
9 changes: 8 additions & 1 deletion pyutilib/enum/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,11 @@
# _________________________________________________________________________
#

from pyutilib.enum.enum import Enum, EnumValue
import sys

if 'nose' not in sys.modules and 'nose2' not in sys.modules:
raise ImportError("""pyutilib.enum has been removed.
Python 3 now has an enum implementation in the standard library (also
available for older Python versions as the third-party enum34 PyPI
package) that supersedes this library.""")
311 changes: 0 additions & 311 deletions pyutilib/enum/enum.py

This file was deleted.

9 changes: 0 additions & 9 deletions pyutilib/enum/tests/__init__.py

This file was deleted.

Loading

0 comments on commit 9d9b95a

Please sign in to comment.