浏览代码

Fixed the import issue (#2158)

* Fixed the import issue

* make black happy

* Use find_namespace_packages
/develop-generalizationTraining-TrainerController
GitHub 6 年前
当前提交
4966b888
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 7
      ml-agents/setup.py

7
ml-agents/setup.py


from setuptools import setup, find_packages
from setuptools import setup, find_namespace_packages
from os import path
from io import open

"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.6",
],
packages=["mlagents.trainers"], # Required
# find_namespace_packages will recurse through the directories and find all the packages
packages=find_namespace_packages(
exclude=["*.tests", "*.tests.*", "tests.*", "tests"]
),
zip_safe=False,
install_requires=[
"mlagents_envs==0.8.2",

正在加载...
取消
保存