浏览代码

add VERSION variable to each setup.py

/tag-0.11.0.dev0
Chris Elion 5 年前
当前提交
3dc677ee
共有 3 个文件被更改,包括 11 次插入5 次删除
  1. 6
      gym-unity/setup.py
  2. 4
      ml-agents-envs/setup.py
  3. 6
      ml-agents/setup.py

6
gym-unity/setup.py


from setuptools import setup, find_packages
VERSION = "0.10.1"
version="0.4.8",
version=VERSION,
description="Unity Machine Learning Agents Gym Interface",
license="Apache License 2.0",
author="Unity Technologies",

install_requires=["gym", "mlagents_envs==0.10.1"],
install_requires=["gym", "mlagents_envs=={}".format(VERSION)],
)

4
ml-agents-envs/setup.py


from setuptools import setup
from os import path
VERSION = "0.10.1"
version="0.10.1",
version=VERSION,
description="Unity Machine Learning Agents Interface",
url="https://github.com/Unity-Technologies/ml-agents",
author="Unity Technologies",

6
ml-agents/setup.py


from os import path
from io import open
VERSION = "0.10.1"
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file

setup(
name="mlagents",
version="0.10.1",
version=VERSION,
description="Unity Machine Learning Agents",
long_description=long_description,
long_description_content_type="text/markdown",

"h5py>=2.9.0",
"jupyter",
"matplotlib",
"mlagents_envs==0.10.1",
"mlagents_envs=={}".format(VERSION),
"numpy>=1.13.3,<2.0",
"Pillow>=4.2.1",
"protobuf>=3.6",

正在加载...
取消
保存