From fb4ede357184fc128733517bdf42b362b5b6a6e0 Mon Sep 17 00:00:00 2001 From: Sacha Date: Thu, 28 Nov 2024 12:54:54 +0000 Subject: [PATCH 1/3] feat: Package project with Pyproject.toml --- pyproject.toml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..0433fa7 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,46 @@ +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" + +[project] +name = "wayve_scenes" +version = "0.3.0" +description = "Evaluation API for the WayveScenes101 Dataset" +authors = [ + {name = 'Wayve Technologies Ltd', email = 'hello@wayve.ai'}, +] +readme = "README.md" +classifiers = [ + # Choose classifiers from https://pypi.org/classifiers/ + 'Development Status :: 3 - Alpha', + 'Intended Audience :: Developers', + 'Programming Language :: Python :: 3.10', + "Environment :: GPU", + "License :: OSI Approved :: MIT License", +] +keywords=["Autonomous Driving", "Scene Reconstruction", "Gaussian Splatting", "Neural Radiance Fields", "Benchmark", "Evaluation"] + +requires-python = ">=3.10,<3.14" +dependencies = [ + "dash>=2.17,<2.18", + "flask>=3.0,<3.1", + "plotly>=5.24,<5.25", + "opencv-python>=4.10,<4.11", + "pycolmap>=3.10,<3.11", + "torch>=2.1,<2.4", + "scipy>=1.14,<1.15", + "tqdm>=4.67,<4.68", + "numpy>=2.1,<2.2", + "nerfstudio>=1.1.5", + "einops>=0.8.0,<0.9.0", + "torchmetrics>=1.4,<1.5", +] + +[project.urls] +Homepage = "http://wayve.ai/science/wayvescenes101" + +[tool.setuptools] +script-files = ["download.sh"] + +[tool.setuptools.packages.find] +where = ["src/"] From e930d94a62c4aeaf9d1f8b8f1dace1d6b60e32c2 Mon Sep 17 00:00:00 2001 From: Sacha Date: Thu, 28 Nov 2024 13:03:03 +0000 Subject: [PATCH 2/3] Add missing license to pyproject toml --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 0433fa7..a97d1fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,6 +10,7 @@ authors = [ {name = 'Wayve Technologies Ltd', email = 'hello@wayve.ai'}, ] readme = "README.md" +license = {file = "LICENSE"} classifiers = [ # Choose classifiers from https://pypi.org/classifiers/ 'Development Status :: 3 - Alpha', From 40f1a5bcccdac4ca78d4b1c3a83e246248fa2626 Mon Sep 17 00:00:00 2001 From: Sacha Date: Thu, 28 Nov 2024 13:03:30 +0000 Subject: [PATCH 3/3] Remove setup.py --- src/setup.py | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/setup.py diff --git a/src/setup.py b/src/setup.py deleted file mode 100644 index 8a25302..0000000 --- a/src/setup.py +++ /dev/null @@ -1,22 +0,0 @@ -from setuptools import setup, find_packages - -setup( - name='wayve_scenes', - version='0.3', - description='Evaluation API for the WayveScenes101 Dataset', - url='http://wayve.ai/science/wayvescenes101', - author='Wayve Technologies Ltd', - author_email='hello@wayve.ai', - license='MIT', - packages=find_packages(), - - classifiers=[ - # Choose classifiers from https://pypi.org/classifiers/ - 'Development Status :: 3 - Alpha', - 'Intended Audience :: Developers', - 'Programming Language :: Python :: 3.10', - "Environment :: GPU" - ], - keywords='Autonomous Driving, Scene Reconstruction, Gaussian Splatting, Neural Radiance Fields, Benchmark, Evaluation', - zip_safe=False -)