forked from tino/async-hvac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (33 loc) · 1.09 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/env python
import os
import sys
from setuptools import setup, find_packages
from pkg_resources import resource_filename
# depending on your execution context the version file
# may be located in a different place!
vsn_path = resource_filename(__name__, 'async_hvac/version')
if not os.path.exists(vsn_path):
vsn_path = resource_filename(__name__, 'version')
if not os.path.exists(vsn_path):
print("%s is missing" % vsn_path)
sys.exit(1)
setup(
name='async-hvac',
version=open(vsn_path, 'r').read(),
description='HashiCorp Vault API client',
long_description='HashiCorp Vault API python 3.6+ client using asyncio.',
author='Lionel Zerbib',
author_email='[email protected]',
url='https://github.com/Aloomaio/async-hvac',
keywords=['hashicorp', 'vault', 'hvac'],
classifiers=['License :: OSI Approved :: Apache Software License'],
packages=find_packages(),
install_requires=[
'aiohttp',
],
include_package_data=True,
package_data={'async_hvac': ['version']},
extras_require={
'parser': ['pyhcl==0.3.10']
}
)