-
Notifications
You must be signed in to change notification settings - Fork 42
/
setup.py
69 lines (63 loc) · 2.62 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
67
68
69
#!/usr/bin/env python3
# Copyright (C) The btclib developers
#
# This file is part of btclib. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution.
#
# No part of btclib including this file, may be copied, modified, propagated,
# or distributed except according to the terms contained in the LICENSE file.
"""Build script for setuptools."""
from setuptools import find_namespace_packages, setup # type: ignore[import]
import btclib
with open("README.md", encoding="ascii") as file_:
longdescription = file_.read()
setup(
name=btclib.name,
version=btclib.__version__,
url="https://btclib.org",
project_urls={
"Download": "https://github.com/btclib-org/btclib/releases",
"Documentation": "https://btclib.readthedocs.io/",
"GitHub": "https://github.com/btclib-org/btclib",
"Issues": "https://github.com/btclib-org/btclib/issues",
"Pull Requests": "https://github.com/btclib-org/btclib/pulls",
},
license=btclib.__license__,
author=btclib.__author__,
author_email=btclib.__author_email__,
description="A library for 'bitcoin cryptography'",
long_description=longdescription,
long_description_content_type="text/markdown",
packages=find_namespace_packages(exclude=["tests", "tests.*"]),
include_package_data=True,
# test_suite="btclib.tests",
install_requires=["btclib_libsecp256k1"],
# extras_require={"secp256k1": ["btclib_libsecp256k1"]},
keywords=(
"bitcoin cryptography elliptic-curves ecdsa schnorr RFC-6979 "
"bip32 bip39 electrum base58 bech32 segwit message-signing "
"bip340"
),
python_requires=">=3.8",
classifiers=[
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
"Topic :: Security :: Cryptography",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
],
)