Skip to content

Commit

Permalink
Update installation to use PyPI for json-schema package
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Herring <[email protected]>
  • Loading branch information
robherring committed Nov 7, 2018
1 parent b6c367c commit 5f9b41a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,21 +105,24 @@ fit for use.
The project and its dependencies can be installed with pip directly from git:

```
pip3 install git+https://github.com/robherring/yaml-bindings.git@master --process-dependency-links
pip3 install git+https://github.com/robherring/yaml-bindings.git@master
```

All executables will be installed. Ensure ~/.local/bin is in the PATH.


For development, clone the git repository manually and run setup.py script:
For development, clone the git repository manually and run pip on local tree::

```
git clone https://github.com/robherring/yaml-bindings.git
cd yaml-bindings
./setup.py develop
pip3 install -e .
```

## Dependencies
Note: The above installation instructions handle all of the dependencies
automatically.

This code depends on Python 3 with the ruamel.yaml, rfc3987, and jsonschema
libraries.

Expand Down
6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,10 @@

install_requires=[
'ruamel.yaml>0.15.69',
'jsonschema>2.6.0',
'jsonschema==3.0.0a3',
'rfc3987',
],

dependency_links=[
'git+https://github.com/Julian/jsonschema.git#egg=jsonschema-2.6.1',
],

classifiers=(
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
Expand Down

0 comments on commit 5f9b41a

Please sign in to comment.