Metadata-Version: 2.1
Name: pep440-version-compare-cli
Version: 1.0.0
Summary: ``pkg_resources`` wrapper to compare versions using PEP 440 rules from the command line.
Home-page: https://github.com/hotoffthehamster/pep440-version-compare-cli
Author: HotOffThe Hamster
Author-email: hotoffthehamster+pep440cmp@gmail.com
License: MIT
Project-URL: Documentation, https://pep440-version-compare-cli.readthedocs.io/en/latest/
Project-URL: Source Code, https://github.com/hotoffthehamster/pep440-version-compare-cli
Keywords: library,configuration,settings,options,ini,conf,config
Platform: any
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/x-rst; charset=UTF-8
Requires-Dist: click (>=7.0)

##########################
pep440-version-compare-cli
##########################

A CLI wrapper around ``pkg_resources`` to compare versions using PEP 440 rules
(i.e., not SemVer rules).

This is especially important for comparing alpha versions when releasing to PyPI.

Usage

.. code-block:: bash

   $ pip install pep440-version-compare-cli

   $ pep440cmp 1.0.0 lt 2.0.0
   True
   $ echo $?
   0

   $ pep440cmp 1.0.0rc4 lt 1.0.0a5 > /dev/null
   $ echo $?
   1



