NVlabs / flip

A tool for visualizing and communicating the errors in rendered images.
498 stars 41 forks source link

Publish to PyPI #19

Closed nguyeeq1 closed 4 months ago

nguyeeq1 commented 1 year ago

Would it be possible to publish the Python implementations of ꟻLIP to PyPI? It would be really convenient to directly pip install the package from command-line.

inversepixel commented 1 year ago

Hello there! Can you give us some hints on how that would be done? Thanks!

nguyeeq1 commented 1 year ago

Sure thing! There are numerous guides and tutorials out there, but it would basically involve turning the Python implementation of flip into a package with expected file hierarchy, creating the necessary files for setup (setup.py, setup.cfg, pyproject.toml, license, etc.), then creating an account on PyPi and uploading via command line. Here are a couple links that could be useful:

Happy to be of more help if wanted!

inversepixel commented 4 months ago

With v1.4, you can now write: pip install -r requirements.txt . So, it's a step towards the real pip install flip Hopefully, we can sort that out for v1.5. Closing this comment now.