Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyTitu committed Mar 12, 2024
1 parent a063dd6 commit b4710a1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.pytest_cache
.idea
*__pycache__
.dist
.onepassword.egg-info
dist/
onepassword.egg-info/
.DS_Store
build/
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include onepassword/*
recursive-include onepassword *.so
recursive-include onepassword *.dylib
4 changes: 2 additions & 2 deletions onepassword/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class Client:
@classmethod
async def authenticate(cls, auth, integration_name, integration_version):
self = cls()
config = new_default_config(auth=auth, integration_name=integration_name, integration_version=integration_version)
client_id = int(await _init_client(config))
self.config = new_default_config(auth=auth, integration_name=integration_name, integration_version=integration_version)
client_id = int(await _init_client(self.config))
self.secrets = Secrets(client_id)
self._finalizer = weakref.finalize(self, _release_client, client_id)

Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build-system]
requires = [
"setuptools >= 40.6.0",
"wheel",
]
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@
packages=find_packages(),
author='1Password',
url='https://github.com/1Password/onepassword-sdk-python',
install_requires=[
"libop_uniffi_core;platform_system=='Darwin'",
],
)

0 comments on commit b4710a1

Please sign in to comment.