ninia / jep

Embed Python in Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Time to use `build` from `setuptools` instead of `distutils`?

abravalheri opened this issue · comments

The following feature in setuptools has been deprecated for almost 2 years and is about to be removed:

https://github.com/pypa/setuptools/blob/1ed759173983656734c3606e9c97a348895e5e0c/setuptools/command/build.py#L13-L27

It might be a good idea to import build directly from setuptools for the following code:

from distutils.command.build import build

(build is available directly from setuptools, starting on version v62.4.0)

Thanks for letting us know. I have updated the code to use the new build from setuptools in 0be8c74 which will be included in the next Jep release(4.2.1)

Thank you!