mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-20 02:24:20 +01:00
* p2pk with nostr privatekey and timelocks * add p2pk * fix test * fix test with custom secret * sign whole split transaction * p2pk signature now commits to entire secret and thus to a nonce * use schnorr signatures * revamp P2SH and P2PK with new Secret model * test p2pk * add comments * add nostr private key to tests * fix nostr receive * make format * test redemption after timelock * refactor Server.serialize() * sign sha256(secret) * add optional refund pubkey that triggers after timelock * use nostr private key for now (including nsec parser) * use nostr private key and fix tests * bump version to 0.12.2
35 lines
1.0 KiB
Python
35 lines
1.0 KiB
Python
from os import path
|
|
|
|
import setuptools
|
|
|
|
this_directory = path.abspath(path.dirname(__file__))
|
|
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
|
|
long_description = f.read()
|
|
|
|
with open("requirements.txt") as f:
|
|
requirements = f.read().splitlines()
|
|
|
|
entry_points = {"console_scripts": ["cashu = cashu.wallet.cli.cli:cli"]}
|
|
|
|
setuptools.setup(
|
|
name="cashu",
|
|
version="0.12.2",
|
|
description="Ecash wallet and mint for Bitcoin Lightning",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
url="https://github.com/cashubtc/cashu",
|
|
author="Calle",
|
|
author_email="calle@protonmail.com",
|
|
license="MIT",
|
|
packages=setuptools.find_namespace_packages(),
|
|
classifiers=[
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
],
|
|
python_requires=">=3.7",
|
|
install_requires=requirements,
|
|
include_package_data=True,
|
|
entry_points=entry_points,
|
|
)
|