diff --git a/MANIFEST.in b/MANIFEST.in index 7f6abad..02050c7 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,6 @@ include requirements.txt -recursive-include cashu/tor * \ No newline at end of file +recursive-include cashu/tor * +recursive-include cashu/wallet * +exclude tests/* +global-exclude *.py[cod] +prune tests */__pycache__/* \ No newline at end of file diff --git a/cashu/nostr b/cashu/nostr index 59ddc1b..880dd11 160000 --- a/cashu/nostr +++ b/cashu/nostr @@ -1 +1 @@ -Subproject commit 59ddc1b5e0cccb0038a064683c7ec10839fad76b +Subproject commit 880dd1183a03d0aa42e66ce418b782b06d8ce519 diff --git a/cashu/tor/bundle/.DS_Store b/cashu/tor/bundle/.DS_Store deleted file mode 100755 index 6c7df35..0000000 Binary files a/cashu/tor/bundle/.DS_Store and /dev/null differ diff --git a/cashu/wallet/cli/nostr.py b/cashu/wallet/cli/nostr.py index 5d23854..597377d 100644 --- a/cashu/wallet/cli/nostr.py +++ b/cashu/wallet/cli/nostr.py @@ -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()}") diff --git a/setup.py b/setup.py index edb0b3e..e135275 100644 --- a/setup.py +++ b/setup.py @@ -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",