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

Make Petals a pip-installable package (attempt 2) #102

Merged
merged 19 commits into from
Nov 30, 2022
Merged

Conversation

borzunov
Copy link
Collaborator

@borzunov borzunov commented Nov 30, 2022

What happened?

  1. Petals can be now installed using pip install git+https://github.com/bigscience-workshop/petals
    • In case if you already cloned the repo, you can do pip install . or pip install .[dev]
    • Later, we can upload it to PyPI
  2. Moved src => src/petals
    • Replaced from src.smth import smth with from petals.smth import smth
  3. Moved cli => src/petals/cli
    • Replaced python -m cli.run_smth with python -m petals.cli.run_smth (all utilities are now available right after pip installation)
  4. Moved the requirements*.txt contents to setup.cfg (requirements.txt for packages is not supported well by modern packaging utils)
  5. Increased the package version from 0.2 to 1.0alpha1

@borzunov borzunov changed the title Make Petals a pip-installable package (version 2) Make Petals a pip-installable package (attempt 2) Nov 30, 2022
@borzunov borzunov merged commit 7bd5916 into main Nov 30, 2022
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.

1 participant