Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ Idea came from puppet's hiera.

```sh
pip install himl
# or, optionally install with extras dependencies: vault and aws interpolation support
# or, optionally install with all extras dependencies: vault and aws interpolation support
pip install himl[extras]
# or, specify which extras dependencies you need
pip install himl[vault,aws]
```

### Using `docker` image
Expand Down
33 changes: 20 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,24 @@
with open('README.md', encoding="utf-8") as f:
_readme = f.read()

_install_requires = [
'deepmerge==1.0.1',
'lru_cache==0.2.3',
'backports.functools_lru_cache==1.6.4',
'pathlib2==2.3.7.post1',
'pyyaml==6.0',
]

_extras_require = {
'aws': [
'boto3==1.24.2',
],
'vault': [
'hvac==0.11.2',
],
}
_extras_require['extras'] = [dep for deps in _extras_require.values() for dep in deps]

setup(
name='himl',
version="0.9.0",
Expand Down Expand Up @@ -43,19 +61,8 @@
],
packages=['himl'],
include_package_data=True,
install_requires=[
'deepmerge==1.0.1',
'lru_cache==0.2.3',
'backports.functools_lru_cache==1.6.4',
'pathlib2==2.3.7.post1',
'pyyaml==6.0'
],
extras_require={
'extras': [
'boto3==1.24.2',
'hvac==0.11.2'
]
},
install_requires=install_requires,
extras_require=extras_require,
entry_points={
'console_scripts': [
'himl = himl.main:run',
Expand Down