Metadata-Version: 1.1
Name: pythonversion
Version: 0.2
Summary: Check Python version
Home-page: https://github.com/xuboying/pythonversion/
Author: Boying Xu
Author-email: xuboying@gmail.com
License: MIT
Download-URL: https://github.com/xuboying/pythonversion/tarball/0.2
Description: pythonversion

        =============

        

        Check Python Version for script

        -------------------------------

        

        Usage

        ~~~~~

        

        .. code:: python

        

            #!/usr/bin/env python

            import pythonversion

            pythonversion.PyVersionCheck(min="2.7.5",max="2.7.6")

            print "foo"

        

            python -V Python 2.7.10

        

            test.py

        

            The supported Python version for this script is from 2.7.5 to 2.7.6

        

        .. code:: python

        

            #!/usr/bin/env python

            import pythonversion

            pythonversion.PyVersionCheck(min="2.7.5")

            print "foo"

        

            python -V Python 2.7.10

        

            test.py

        

            foo

        
Keywords: version
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
