-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
66 lines (50 loc) · 1.86 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
54
55
56
57
58
59
60
61
62
63
64
65
66
from pathlib import Path
from setuptools import setup, find_packages
def load_module_dict(filename: str) -> dict:
import importlib.util as ilu
filename = Path(__file__).parent / filename
spec = ilu.spec_from_file_location('', filename)
module = ilu.module_from_spec(spec)
spec.loader.exec_module(module)
return module.__dict__
name = "dmk"
constants = load_module_dict(f'{name}/_constants.py')
readme = (Path(__file__).parent / 'README.md').read_text(encoding="utf-8")
readme = "# " + readme.partition("\n#")[-1]
setup(
name=name,
version=constants['__version__'],
author="Artëm IG",
author_email="[email protected]",
url='https://github.com/rtmigo/dmk_py',
packages=find_packages(include='dmk/*'),
python_requires='>=3.7',
install_requires=['pycryptodome', 'click', 'argon2-cffi', 'click_shell'],
description="Experimental storage with entries encrypted independently.",
long_description=readme,
long_description_content_type='text/markdown',
license="MIT",
entry_points={
'console_scripts': [
'dmk = dmk:dmk_cli',
]},
keywords="encryption password keeper storage vault keychain file"
"privacy deniable data security "
"chacha20 argon2 "
"".split(),
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: BSD License',
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
'Topic :: Security :: Cryptography',
"Environment :: Console",
"Typing :: Typed",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows"
],
test_suite="test_unit.suite"
)