-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move project metadata from
setup.py
to pyproject.toml
.
`pyproject.toml` is the recommended way to describe projects and to declare metadata such as its dependencies (https://packaging.python.org/en/latest/specifications/declaring-project-metadata/). This change also updates the PyPi version which was severely outdated (as highlighted in issue #116). PiperOrigin-RevId: 527587152
- Loading branch information
1 parent
6689155
commit f173385
Showing
2 changed files
with
41 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools", | ||
"wheel" | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "android-env" | ||
version = "1.2.1" | ||
description = "AndroidEnv environment and library for training agents." | ||
authors = [{name = "DeepMind"}] | ||
license = {file = "LICENSE"} | ||
readme = {text = "Read the README at https://github.com/deepmind/android_env for more information.", content-type = "text/plain"} | ||
keywords = ["Android", "OS", "reinforcement-learning"] | ||
requires-python = ">=3.10" | ||
dependencies = [ | ||
"absl-py>=0.1.0", | ||
"dm_env", | ||
"grpcio", | ||
"numpy>=1.21", | ||
"portpicker>=1.2.0", | ||
"protobuf>=2.6", | ||
"pygame", | ||
] | ||
|
||
[project.optional-dependencies] | ||
acme = ["dm-acme"] | ||
gym = ["gym"] | ||
attrs = ["attrs==20.3.0"] # temporary pin to fix pytype issue. | ||
pillow = ["pillow"] | ||
pytype = ["pytype"] | ||
pytest = ["pytest-xdist"] | ||
|
||
[project.urls] | ||
repository = "https://github.com/deepmind/android_env" | ||
deepmind = "https://www.deepmind.com/publications/androidenv-the-android-learning-environment" | ||
arxiv = "https://arxiv.org/abs/2105.13231" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters