Skip to content

Commit

Permalink
docs: Version is used not LooseVersion, scrapy/scrapyd#426
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jul 20, 2024
1 parent 10fdf9b commit f172109
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ shown above. However, you can pass a custom version using ``--version``::

scrapyd-deploy <target> -p <project> --version <version>

The version must be comparable with LooseVersion_. Scrapyd will use the greatest version unless
specified.
The version must be comparable with `Version <https://github.com/scrapy/scrapyd/issues/426>`__. Scrapyd will use the greatest version unless specified.

If you use Mercurial or Git, you can use ``HG`` or ``GIT`` respectively as the argument supplied to
``--version`` to use the current revision as the version. You can save yourself having to specify
Expand All @@ -105,8 +104,6 @@ the version parameter by adding it to your target's entry in ``scrapy.cfg``:
...
version = HG
.. _LooseVersion: http://epydoc.sourceforge.net/stdlib/distutils.version.LooseVersion-class.html

Local Settings
~~~~~~~~~~~~~~

Expand Down

0 comments on commit f172109

Please sign in to comment.