Skip to content

Commit 736bcf2

Browse files
Merge pull request #60 from bradmwilliams/doc-updates
Updating documents to reflect latest changes
2 parents a1cf31a + 07b4454 commit 736bcf2

File tree

5 files changed

+39
-8
lines changed

5 files changed

+39
-8
lines changed

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
- [Overview](#overview)
99
- [Reader Prerequisites](#reader-prerequisites)
1010
- [Setup](#setup)
11+
- [Prerequisites](#prerequisites)
12+
- [Installation Instructions](#installation-instructions)
13+
- [Using PIP](#using-pip)
14+
- [For development](#for-development)
1115
- [Usage](#usage)
1216
- [Quickstart](#quickstart)
1317
- [Selectors](#selectors)
@@ -59,15 +63,18 @@ the CLI documentation to find the pass-through arguments a given interaction req
5963
* A familiarity with Python is assumed.
6064

6165
## Setup
62-
Setup-Prerequisites
63-
1. You will require certain pip packages, use the following command to install them when at the root folder of the repository.
66+
### Prerequisites
67+
1. Download and install the OpenShift [command-line Tools](https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/) needed to access your OpenShift cluster.
6468

69+
### Installation Instructions
70+
71+
#### Using PIP
72+
1. Install the `openshift-client` module from PyPI.
6573
```bash
66-
sudo pip install -r requirements.txt
74+
sudo pip install openshift-client
6775
```
68-
2. Download and install the OpenShift [command-line Tools](https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/) needed to access your OpenShift cluster.
6976

70-
Setup steps
77+
#### For development
7178
1. Git clone https://github.com/openshift/openshift-client-python.git (or your fork).
7279
2. Append ./packages to your PYTHONPATH environment variable (e.g. export PYTHONPATH=$(pwd)/packages:$PYTHONPATH).
7380
3. Write and run your python script!

ansible/rebuild_module.digest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5989e72fd25bf177445364381d4ad2dd -
1+
4008d9385ab44dc3856603d9fb96eaef -

ansible/roles/openshift_client_python/library/openshift_client_python.py

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/PACKAGING.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [Openshift Python Client Packaging](#openshift-python-client-packaging)
6+
- [Introduction](#introduction)
7+
- [Recommended Setup](#recommended-setup)
8+
- [Create User Accounts](#create-user-accounts)
9+
- [PyPI - The Python Package Index](#pypi---the-python-package-index)
10+
- [TestPyPI - The Test Python Package Index](#testpypi---the-test-python-package-index)
11+
- [Generate API Tokens](#generate-api-tokens)
12+
- [setup.cfg](#setupcfg)
13+
- [Building](#building)
14+
- [Publishing](#publishing)
15+
- [TestPyPI](#testpypi)
16+
- [PyPI](#pypi)
17+
- [Installation](#installation)
18+
- [TestPyPI](#testpypi-1)
19+
- [PyPI](#pypi-1)
20+
- [Cleanup](#cleanup)
21+
- [Helpful Links](#helpful-links)
22+
23+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
24+
125
# Openshift Python Client Packaging
226

327
## Introduction

packages/openshift/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .ansible import ansible
1313

1414
# Single source for module version
15-
__VERSION__ = '1.0.2'
15+
__VERSION__ = '1.0.3'
1616

1717
null = None # Allow scripts to specify null in object definitions
1818

0 commit comments

Comments
 (0)