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

fix: Cannot install package from github #21

Merged
merged 1 commit into from
Mar 24, 2022
Merged

fix: Cannot install package from github #21

merged 1 commit into from
Mar 24, 2022

Conversation

SilviaZeta
Copy link
Contributor

Description

Installing the gliff package from github with pip install git+https://github.com/gliff-ai/gliff-py.git#egg=gliff fails with error "EntryPoint must be in 'name=module:attrs [extras]' format", "format=black:main('.')".

black takes as attribute a source file or directory and I can't find a way to pass attributes to poetry scripts, so I am removing the "format" script, untill I can find a solution.

Checklist:

Put an x in the boxes that apply to this pull request (you can also fill these out after opening the pull request). If you're unsure about any of these, don't hesitate to leave a comment on this pull request!

  • I have read the gliff.ai Contribution Guide.
  • I have requested to pull a branch and not from main.
  • I have checked all commit message styles match the requested structure.
  • My code follows the style guidelines of this project.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have performed a self-review of my own code.
  • I have assigned 3 or less reviewers.
  • New and existing unit tests pass locally with my changes.
  • I have added tests that prove my fix is effective or that my feature works.
  • My changes generate no new warnings.
  • I have made corresponding changes to the documentation.
  • New database changes have been committed.
  • If appropriate, I have bumped any version numbers.

Error: "EntryPoint must be in 'name=module:attrs [extras]' format", "format=black:main('.')"
@gliff-ai-robot gliff-ai-robot added the bug [Problem] Something isn’t working or looking right. label Mar 24, 2022
@SilviaZeta SilviaZeta merged commit 4c62440 into main Mar 24, 2022
@SilviaZeta SilviaZeta deleted the fixInstall branch March 24, 2022 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [Problem] Something isn’t working or looking right.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants