From af19e0531f9396a408338f088d438feeaf32f678 Mon Sep 17 00:00:00 2001 From: melissaml Date: Sat, 21 Apr 2018 18:39:36 +0800 Subject: [PATCH] Trivial: Update pypi url to new url Pypi url changed from [1] to [2] [1] https://pypi.python.org/pypi/ [2] https://pypi.org/project/ Change-Id: I6a351a4468fa28d31de513b32ce95a35d209cc38 --- doc/source/installation.rst | 2 +- doc/source/usage.rst | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/installation.rst b/doc/source/installation.rst index 71c52372..feeb29a7 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst @@ -12,4 +12,4 @@ You can also clone the project and use it without any specific OpenStack environ git clone https://github.com/openstack/heat-translator -Heat-Translator can be installed via PyPI package as well. Refer to https://pypi.python.org/pypi/heat-translator for available packages. +Heat-Translator can be installed via PyPI package as well. Refer to https://pypi.org/project/heat-translator for available packages. diff --git a/doc/source/usage.rst b/doc/source/usage.rst index 383c6964..5a94cee7 100644 --- a/doc/source/usage.rst +++ b/doc/source/usage.rst @@ -10,7 +10,7 @@ Assuming that OpenStackClient (OSC) is available in your environment, you can ea cd heat-translator sudo python setup.py install -Alternatively, you can install a particular release of Heat-Translator as available at https://pypi.python.org/pypi/heat-translator. +Alternatively, you can install a particular release of Heat-Translator as available at https://pypi.org/project/heat-translator. Once installation is complete, Heat-Translator is ready to use. The only required argument is ``--template-file``. By default, the ``--template-type`` is set to ``tosca`` which is the only supported template type at present. Currently you can use Heat-Translator in following three ways. @@ -58,7 +58,7 @@ optional argument. The command below shows an example usage:: python heat_translator.py --template-file= --template-type= --validate-only=true -Alternatively, you can install a particular release of Heat-Translator as available at https://pypi.python.org/pypi/heat-translator. +Alternatively, you can install a particular release of Heat-Translator as available at https://pypi.org/project/heat-translator. In this case, you can simply run translation via CLI entry point:: heat-translator --template-file=translator/tests/data/tosca_helloworld.yaml --template-type=tosca @@ -115,4 +115,4 @@ Things To Consider Below is an example of how to use this on the command line:: - heat-translator --template-file translator/tests/data/autoscaling/tosca_autoscaling.yaml --output-file /tmp/hot.yaml \ No newline at end of file + heat-translator --template-file translator/tests/data/autoscaling/tosca_autoscaling.yaml --output-file /tmp/hot.yaml