Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ This is not an official, or supported, Google product.

# Installation

To install all dependencies:
To install package and dependencies:

pip3 install absl-py urllib3 pytype attrs parameterized python-dateutil
```
pip3 install google-deputy-api-python-client
```

# Contributing

Expand Down
4 changes: 2 additions & 2 deletions deputy/deputy.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

Usage:

import deputy
from deputy import deputy

# There are two ways to instantiate the Deputy object. To use the flag values
# provided when launching the binary:
Expand All @@ -75,7 +75,7 @@
provided for the `--current_datetime_override` flag. To find 'employees on shift
right now':

import deputy
from deputy import deputy

client = deputy.Deputy.from_flags()

Expand Down
12 changes: 11 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@
with open("README.md", "r") as fh:
long_description = fh.read()

DEPENDENCIES = (
"absl-py",
"urllib3",
"pytype",
"attrs>=19",
"parameterized",
"python-dateutil",
)

setuptools.setup(
name="google-deputy-api-python-client",
version="0.0.1",
Expand All @@ -33,5 +42,6 @@
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
install_requires=DEPENDENCIES,
python_requires='>=3.6',
)
)