-
Notifications
You must be signed in to change notification settings - Fork 81
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
Build recipe for the project #169
Comments
@rjanvier I saw your post sk-build-core issue tracker still did not get any reply. Have you maybe found a workaround for installing The second limitation I see is the fact that several dependencies currently need to be compiled with shell or python scripts. Not entirely sure how to work around this with a Any suggestions would be welcome ! |
I install all of superpoint transformer with pip; we don't use anaconda at all. |
@gvoysey thanks for your reply ! How do you proceed for FRNN installation ? Did you move away from this dependency ? How about the cut-pursuit and grid-graph dependencies ? Did you manage to port the script parts of Γ¬nstall.sh |
we vendored and packaged all the dependencies -- frnn, prefix-sum, grid-graph, pycut-pursuit, and pgeof are all pip installable. Installation is managed from a |
Would be quite interested in how you packaged all the dependencies these, in particular FRNN and prefix-sum (all the other dependencies are no on PyPi thanks to @rjanvier). I am fairly new to python project packaging, would you mind sharing how you configured this ? |
I'll see what i can do to get you a PR for the dependencies, as well as spt itself. it'll save my fork some churn if i do the helping, heh. π |
Don't worry about making a super clean PR ! Basically if you share your recipe for compiling FRNN with setuptools, ruled from a |
It is essential for the packaging, sadly. I'm happy to do it on the grounds that it improves my ability to stay in step with your upstream remote, which is significant for our team. i'd like to include some convenience tooling for autoformatting (your template correctly uses pre-commit but i don't think you've run it) and a stab at CI/CD with happy to talk offline about a strategy for this, if you like. |
β Code of conduct checklist
π The feature, motivation and pitch
Installing the project with a simple
pip install
command would be ideal. Besides, having such build recipe would allow proper automatic CI and CD, which are currently lacking. Ideally, we would have a singlepyproject.toml
file to cover our needs, combined with asetup.py
if using setuptools.π Alternatives
For now, the reliance on the
install.sh
script works, but is not ideal. In particular:FRNN
is not pip-installable and requires the execution of a shell script to compile. If this is too much of an issue, we should move away fromFRNN
in favor of other radius-NN tools, even if at the expense of a little bit of performance. This would however require a bit of benchmarkingpgeof
fails to install properly in a conda environment without an explicit call to a conda-install command (see Install script makes seemingly incorrect assumptions about PGEOF's environmentΒ #102)parallel_cut_pursuit
andgrid_graph
require the execution of a python script for compilationAny attempt to improve the project's installation would need to address these 3 points.
π Additional context
No response
The text was updated successfully, but these errors were encountered: