Farama-Foundation / Arcade-Learning-Environment

The Arcade Learning Environment (ALE) -- a platform for AI research.
GNU General Public License v2.0
2.1k stars 416 forks source link

build: allow installing without git #492

Closed branchvincent closed 7 months ago

branchvincent commented 11 months ago

This allows installing from a tarball rather than requiring a git clone, which is helpful for downstream distributors (such as Homebrew).

Before:

$ pip3 install https://github.com/mgbellemare/Arcade-Learning-Environment/archive/refs/tags/v0.8.1.tar.gz
...
× Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [25 lines of output]
      fatal: not a git repository (or any of the parent directories): .git

After:

$ pip3 install https://github.com/branchvincent/Arcade-Learning-Environment/archive/refs/heads/tarball.tar.gz
...
Successfully built ale-py