From 0bf748869a06ec9e5d41182ed47824d26bd785af Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Fri, 31 May 2024 18:24:47 +0200 Subject: [PATCH] Switch to pyproject.toml --- pyproject.toml | 13 +++++++++++++ setup.py | 19 ------------------- 2 files changed, 13 insertions(+), 19 deletions(-) create mode 100644 pyproject.toml delete mode 100644 setup.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..6e6abe9 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,13 @@ +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "fancy_rl" +version = "0.1.0" +dependencies = [ + "gymnasium", + "pyyaml", + "torch", + "torchrl" +] diff --git a/setup.py b/setup.py deleted file mode 100644 index 0dfab7a..0000000 --- a/setup.py +++ /dev/null @@ -1,19 +0,0 @@ - -from setuptools import setup, find_packages - -setup( - name="fancy_rl", - version="0.1", - packages=find_packages(), - install_requires=[ - "torch", - "torchrl", - "gymnasium", - "pyyaml", - ], - entry_points={ - "console_scripts": [ - "fancy_rl=fancy_rl.example:main", - ], - }, -)