Skip to content

Commit 7547de6

Browse files
committed
Add apiclient as an alias for googleapiclient.
We want to rename `apiclient` to `googleapiclient`; breaking everyone seems like a **bad** way to do that. Instead, this keeps the old name as an alias.
1 parent 9b90677 commit 7547de6

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

apiclient/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
"""Retain apiclient as an alias for googleapiclient."""
2+
3+
from googleapiclient import *
4+
5+
from googleapiclient import channel
6+
from googleapiclient import discovery
7+
from googleapiclient import errors
8+
from googleapiclient import http
9+
from googleapiclient import mimeparse
10+
from googleapiclient import model
11+
from googleapiclient import sample_tools
12+
from googleapiclient import schema

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
from setuptools import setup
3030

3131
packages = [
32+
'apiclient',
3233
'googleapiclient',
3334
]
3435

0 commit comments

Comments
 (0)