Clay-foundation / model

The Clay Foundation Model (in development)
https://clay-foundation.github.io/model/
Apache License 2.0
346 stars 44 forks source link

Request: create pip-installable package #294

Open joconnor-ecaa opened 2 months ago

joconnor-ecaa commented 2 months ago

Hi all, very excited about your work! I spoke to Dan and Avery earlier today.

Small feature request: can you make your code installable (i.e. include a setup.py or similar)? I'm evaluating Clay as part of a decent-sized existing application and this would make using it a lot easier. Would be great if it was on PyPI too!

monocongo commented 2 months ago

In general, the process would involve:

  1. Ensuring that the pyproject.toml file is correctly configured with the project metadata and dependencies.
  2. Building the package using the poetry build command which creates a distribution file (e.g., a .whl or .tar.gz file).
  3. Registering for an account on PyPI if you haven't already.
  4. Publishing the package to PyPI using the poetry publish command, which uploads the distribution file to the PyPI repository.
tm-jc-nacpil commented 3 weeks ago

Bumping this, this would be very helpful for using Clay as part of a bigger repository! 😄