From b6f545a29048db915b5b48951fe1c709ec479f87 Mon Sep 17 00:00:00 2001 From: tangowithfoxtrot <5676771+tangowithfoxtrot@users.noreply.github.com> Date: Tue, 7 Nov 2023 09:51:54 -0800 Subject: [PATCH 1/2] Update setup.py Resolves issue with running `python ./setup.py develop` on Linux, where the package name is case-sensitive --- languages/python/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages/python/setup.py b/languages/python/setup.py index 7976ebcba..b600dd84b 100644 --- a/languages/python/setup.py +++ b/languages/python/setup.py @@ -7,6 +7,6 @@ version="0.1", rust_extensions=[RustExtension( "bitwarden_py", path="../../crates/bitwarden-py/Cargo.toml", binding=Binding.PyO3)], - packages=['bitwardenclient'], + packages=['BitwardenClient'], zip_safe=False, ) From db82534d3432d40973f7fcdc6078ba8a22d561e9 Mon Sep 17 00:00:00 2001 From: tangowithfoxtrot <5676771+tangowithfoxtrot@users.noreply.github.com> Date: Tue, 7 Nov 2023 10:38:30 -0800 Subject: [PATCH 2/2] add install_requires --- languages/python/setup.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/languages/python/setup.py b/languages/python/setup.py index b600dd84b..d9002b2a2 100644 --- a/languages/python/setup.py +++ b/languages/python/setup.py @@ -9,4 +9,10 @@ "bitwarden_py", path="../../crates/bitwarden-py/Cargo.toml", binding=Binding.PyO3)], packages=['BitwardenClient'], zip_safe=False, + install_requires=[ + 'setuptools', + 'setuptools_rust', + 'dateutils', + 'wheel', + ], )