Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "libero"
version = "0.1.0"
description = "LIBERO: Benchmarking Knowledge Transfer for Lifelong Robot Learning"
readme = "README.md"
requires-python = ">=3"
authors = [
{ name = "Bo Liu", email = "[email protected]" },
{ name = "Yifeng Zhu", email = "[email protected]" },
{ name = "Chongkai Gao" },
{ name = "Yihao Feng" },
{ name = "Qiang Liu" },
{ name = "Yuke Zhu" },
{ name = "Peter Stone" },
]
# dependencies = [] # install_requires was empty

# If you have a project URL, you can add it here:
# [project.urls]
# "Homepage" = "https://your-project-url.com"

[project.scripts]
"lifelong.main" = "libero.lifelong.main:main"
"lifelong.eval" = "libero.lifelong.evaluate:main"
"libero.config_copy" = "scripts.config_copy:main"
"libero.create_template" = "scripts.create_template:main"

[tool.setuptools]
include-package-data = true

[tool.setuptools.packages.find]
where = ["."] # Search in the current directory (where pyproject.toml is)
include = ["libero*"] # Include all packages starting with "libero" (e.g., "libero", "libero_utils")
38 changes: 3 additions & 35 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,36 +1,4 @@
# read the contents of your README file
from os import path
from setuptools import setup

from setuptools import find_packages, setup

this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "./README.md"), encoding="utf-8") as f:
lines = f.readlines()

# remove images from README
lines = [x for x in lines if ".png" not in x]
long_description = "".join(lines)

setup(
name="libero",
packages=[package for package in find_packages() if package.startswith("libero")],
install_requires=[],
eager_resources=["*"],
include_package_data=True,
python_requires=">=3",
description="LIBERO: Benchmarking Knowledge Transfer for Lifelong Robot Learning",
author="Bo Liu, Yifeng Zhu, Chongkai Gao, Yihao Feng, Qiang Liu, Yuke Zhu, Peter Stone",
# url="https://github.com/ARISE-Initiative/robosuite",
author_email="[email protected], [email protected]",
version="0.1.0",
long_description=long_description,
long_description_content_type="text/markdown",
entry_points={
"console_scripts": [
"lifelong.main=libero.lifelong.main:main",
"lifelong.eval=libero.lifelong.evaluate:main",
"libero.config_copy=scripts.config_copy:main",
"libero.create_template=scripts.create_template:main",
]
},
)
if __name__ == "__main__":
setup()