Metadata-Version: 1.1
Name: parse-shebang
Version: 0.0.5
Summary: Parse shebangs and return their components.
Home-page: http://github.com/polysquare/parse-shebang
Author: Sam Spilsbury
Author-email: smspillaz@gmail.com
License: MIT
Description: Parse Shebang
        =============
        
        Parse shebangs so script-like files can be executed directly on Windows
        
        On Windows, scripts are supposed to be registered with with their
        interpreters and placed into PATHEXT, but that information might not be
        available and the script still needs to be run. In that case, this
        module is useful, because it looks up the required information to run
        the script as best as possible.
        
        Status
        ------
        
        +----------------------+----------------------+---------------+--------------------------------+-------------+
        | Travis CI (Ubuntu)   | AppVeyor (Windows)   | Coverage      | PyPI                           | Licence     |
        +======================+======================+===============+================================+=============+
        | |Travis|             | |AppVeyor|           | |Coveralls|   | |PyPIVersion|\ |PyPIPythons|   | |License|   |
        +----------------------+----------------------+---------------+--------------------------------+-------------+
        
        API Usage
        ---------
        
        ::
        
            shebang = parseshebang.parse(file_to_parse)
            subprocess.check_call(shebang + ["/my_script.py"])
        
        ``file_to_parse`` may be either an open file object, which supports
        seeking, or a file name. A list containing the shebang components is
        returned.
        
        .. |Travis| image:: https://img.shields.io/travis/polysquare/python-parse-shebang.svg
           :target: http://travis-ci.org/polysquare/python-parse-shebang
        .. |AppVeyor| image:: https://img.shields.io/appveyor/ci/smspillaz/python-parse-shebang.svg
           :target: https://ci.appveyor.com/project/smspillaz/python-parse-shebang
        .. |Coveralls| image:: https://img.shields.io/coveralls/polysquare/python-parse-shebang.svg
           :target: http://coveralls.io/polysquare/python-parse-shebang
        .. |PyPIVersion| image:: https://img.shields.io/pypi/v/parse-shebang.svg
           :target: https://pypi.python.org/pypi/parse-shebang
        .. |PyPIPythons| image:: https://img.shields.io/pypi/pyversions/parse-shebang.svg
           :target: https://pypi.python.org/pypi/parse-shebang
        .. |License| image:: https://img.shields.io/github/license/polysquare/python-parse-shebang.svg
           :target: http://github.com/polysquare/python-parse-shebang
        
Keywords: development
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Intended Audience :: Developers
Classifier: Topic :: System :: Shells
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: MIT License
