You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
619 B
23 lines
619 B
"""
|
|
`pyhmy` for interacting with the Harmony blockchain
|
|
"""
|
|
import sys
|
|
import warnings
|
|
|
|
__version__ = "0.1.1"
|
|
|
|
if sys.version_info.major < 3:
|
|
warnings.simplefilter( "always", DeprecationWarning )
|
|
warnings.warn(
|
|
DeprecationWarning(
|
|
"`pyhmy` does not support Python 2. Please use Python 3."
|
|
)
|
|
)
|
|
warnings.resetwarnings()
|
|
|
|
if sys.platform.startswith( "win32" ) or sys.platform.startswith( "cygwin" ):
|
|
warnings.simplefilter( "always", ImportWarning )
|
|
warnings.warn(
|
|
ImportWarning( "`pyhmy` does not work on Windows or Cygwin." )
|
|
)
|
|
warnings.resetwarnings()
|
|
|