forked from OblivionCloudControl/opvault
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (47 loc) · 1.78 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import os
from setuptools import setup
# Any code, applications, scripts, templates, proofs of concept, documentation
# and other items provided by OBLCC under this SOW are 'OBLCC Content' as
# defined in the Agreement, and are provided for illustration purposes only.
# All such OBLCC Content is provided solely at the option of OBLCC, and is
# subject to the terms of the Addendum and the Agreement. Customer is solely
# responsible for using, deploying, testing, and supporting any code and
# applications provided by OBLCC under this SOW.
#
# (c) 2018 Oblivion Cloud Control
# Author: S. Huizinga <[email protected]>
def read(filename):
with open(os.path.join(os.path.dirname(__file__), filename)) as file_descr:
long_description = file_descr.read()
return long_description
VERSION = os.environ['CI_COMMIT_TAG'] if 'CI_COMMIT_TAG' in os.environ \
else os.environ['CI_COMMIT_SHA']
setup(
name='opvault',
version=VERSION,
author='Steyn Huizinga',
author_email='[email protected]',
description='Python library to access 1Password OPVault stores',
license='GPLv3',
keywords='opvault',
url='https://github.com/OblivionCloudControl/opvault',
provides=['opvault'],
packages=['opvault'],
install_requires=['pycryptodome'],
long_description=read('README'),
entry_points={
'console_scripts': [
'opvault-cli = opvault.cli:main',
]
},
classifiers=[
'Development Status :: 4 - Beta',
'Topic :: Utilities',
('License :: OSI Approved :: GNU General Public License v3'
' or later (GPLv3+)'),
'Topic :: Security :: Cryptography',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)