Skip to content

Commit

Permalink
Replace distutils.cmd.Command with setuptools.Command.
Browse files Browse the repository at this point in the history
`distutils` has long been deprecated in favor of `setuptools`. This change
simply replaces its use with an equivalent one from `setuptools`.

PiperOrigin-RevId: 546298482
  • Loading branch information
kenjitoyama authored and copybara-github committed Jul 7, 2023
1 parent bb6687a commit 416b12b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

"""Simple package definition for using with `pip`."""

from distutils import cmd
import os

import pkg_resources
Expand Down Expand Up @@ -45,7 +44,7 @@
]


class _GenerateProtoFiles(cmd.Command):
class _GenerateProtoFiles(setuptools.Command):
"""Command to generate protobuf bindings for AndroidEnv protos."""

descriptions = 'Generates Python protobuf bindings for AndroidEnv protos.'
Expand Down

0 comments on commit 416b12b

Please sign in to comment.