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: 546301078
  • Loading branch information
kenjitoyama authored and copybara-github committed Jul 7, 2023
1 parent bb6687a commit 2da16b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

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

from distutils import cmd
import os

import pkg_resources
import setuptools
from setuptools import find_packages
from setuptools import setup
from setuptools.command.build_ext import build_ext
Expand Down Expand Up @@ -45,7 +45,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 2da16b2

Please sign in to comment.