Switch to pyproject.toml

This commit is contained in:
Dominik Moritz Roth 2024-05-31 18:24:47 +02:00
parent bd507c37c3
commit 0bf748869a
2 changed files with 13 additions and 19 deletions

13
pyproject.toml Normal file
View File

@ -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"
]

View File

@ -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",
],
},
)