Skip to content

Commit

Permalink
Move build time deps to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
discordianfish committed Mar 11, 2024
1 parent a48a912 commit 52c5352
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=40.8.0",
"wheel"
]
build-backend = "setuptools.build_meta"
11 changes: 0 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@

import setuptools

try:
from pip import main as pipmain
except ImportError:
from pip._internal import main as pipmain

pipmain(["install", "setuptools"])
pipmain(["install", "distro"])

extras = {
"core": [],
"tests": ["pytest", "pytest-mock", "testresources"],
Expand Down Expand Up @@ -41,10 +33,7 @@
long_description_content_type="text/markdown",
license="Custom",
install_requires=[
"pip>=21",
'importlib-metadata<=4.12.0; python_version <= "3.7"', # problem with gym for importlib-metadata==5.0.0 and python <=3.7
"setuptools",
"distro>=1",
"gymnasium>=0.26.3",
"inputs",
"screeninfo",
Expand Down

0 comments on commit 52c5352

Please sign in to comment.