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

Request: create pip-installable package #294

Open
joconnor-ecaa opened this issue Jul 8, 2024 · 3 comments
Open

Request: create pip-installable package #294

joconnor-ecaa opened this issue Jul 8, 2024 · 3 comments

Comments

@joconnor-ecaa
Copy link

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
Copy link

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
Copy link

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

@MaxLenormand
Copy link
Contributor

I second this.

I tried to add model to a Poetry project and didn't manage to find a way to do so. I got:

Source [my_project_path]/src/model does not appear to be a Python project: no pyproject.toml or setup.py

I didn't dig any deeper before taking a look here to see if anyone else asked for pip-installable package

I also think it might be useful to rename the package to clay-model as having a dep called model is very generic in a dependency list

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

No branches or pull requests

4 participants