fix manifest (#111)

This commit is contained in:
calle
2023-02-25 13:23:33 +01:00
committed by GitHub
parent 46eeb2c36e
commit da2d003291
5 changed files with 9 additions and 5 deletions

View File

@@ -1,2 +1,6 @@
include requirements.txt
recursive-include cashu/tor *
recursive-include cashu/tor *
recursive-include cashu/wallet *
exclude tests/*
global-exclude *.py[cod]
prune tests */__pycache__/*

Binary file not shown.

View File

@@ -75,7 +75,7 @@ async def send_nostr(ctx: Context, amount: int, pubkey: str, verbose: bool, yes:
default=True,
)
client = NostrClient(private_key=NOSTR_PRIVATE_KEY, relays=NOSTR_RELAYS)
client = NostrClient(private_key=NOSTR_PRIVATE_KEY or "", relays=NOSTR_RELAYS)
if verbose and not NOSTR_PRIVATE_KEY:
# we generated a random key if none was present
print(f"Your nostr private key: {client.private_key.bech32()}")

View File

@@ -9,7 +9,7 @@ with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
with open("requirements.txt") as f:
requirements = f.read().splitlines()
entry_points = {"console_scripts": ["cashu = cashu.wallet.cli:cli"]}
entry_points = {"console_scripts": ["cashu = cashu.wallet.cli.cli:cli"]}
setuptools.setup(
name="cashu",
@@ -21,7 +21,7 @@ setuptools.setup(
author="Calle",
author_email="calle@protonmail.com",
license="MIT",
packages=setuptools.find_packages(),
packages=setuptools.find_namespace_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",