Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pyproject.toml build system #364

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

martinResearch
Copy link
Contributor

@martinResearch martinResearch commented Aug 23, 2024

trying to address issue #363

@@ -0,0 +1,3 @@
[build-system]
# Minimum requirements for the build system to execute.
requires = ["setuptools", "wheel", "torch", "numpy==1.26.4"] # PEP 508 specifications.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess pip install . would trigger this, is that true? Would this get triggered if I run python setup.py?

Also numpy==1.26.4 seems too constrained than necessary. We probably don't need to specify numpy version for the gsplat library?

@liruilong940607
Copy link
Collaborator

Btw, I think the requirements are already there:

gsplat/setup.py

Lines 130 to 137 in 507f26e

install_requires=[
"ninja",
"numpy",
"jaxtyping",
"rich>=12",
"torch",
"typing_extensions; python_version<'3.8'",
],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants