-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
62 lines (54 loc) · 1.73 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
import codecs
import os
from setuptools import find_packages, setup
HERE = os.path.abspath(os.path.dirname(__file__))
VERSION = "0.7.0"
def read(*parts):
"""Build an absolute path from *parts*...
... and return the contents of the resulting file.
Assume UTF-8 encoding.
Thanks to:
https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/
"""
with codecs.open(os.path.join(HERE, *parts), "rb", "utf-8") as f:
return f.read()
setup(
name="hibpcli",
version=VERSION,
description="A command line interface for the **haveibeenpwned.com** API - "
"speaks keepass.",
long_description=read("README.rst") + "\n\n" + read("CHANGES.rst"),
long_description_content_type="text/x-rst",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"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",
"Development Status :: 4 - Beta",
"Environment :: Console",
],
author="Jürgen Gmach",
author_email="juergen.gmach@goglemail.com",
url="https://github.com/jugmac00/hibpcli",
license="MIT",
packages=find_packages(where="src"),
package_dir={"": "src"},
extras_require={
"test": [
"pytest",
"coverage",
],
"dev": ["pdbpp"],
},
include_package_data=True,
zip_safe=True,
install_requires=[
"click>=7.1.2",
"pykeepass>=4.0.1",
"httpx>=0.13.3",
],
entry_points={"console_scripts": ["hibpcli = hibpcli.cli:main"]},
)