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

remove duplication with entry_points #469

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kirillrdy
Copy link
Contributor

installing awebcli using https://github.com/pypa/installer fails due to eb being listed in both scripts and entry_points

error: builder for '/nix/store/swk28rqdv15g8v383al28kzjvigdp4y8-awsebcli-3.20.7.drv' failed with exit code 1;
       last 10 log lines:
       >     _main(sys.argv[1:], "python -m installer")
       >   File "/nix/store/qg1mq5b71pbhnvpa8l1024prdymn2hkc-python3.10-installer-0.7.0/lib/python3.10/site-packages/installer/__main__.py", line 94, in _main
       >     installer.install(source, destination, {})
       >   File "/nix/store/qg1mq5b71pbhnvpa8l1024prdymn2hkc-python3.10-installer-0.7.0/lib/python3.10/site-packages/installer/_core.py", line 109, in install
       >     record = destination.write_file(
       >   File "/nix/store/qg1mq5b71pbhnvpa8l1024prdymn2hkc-python3.10-installer-0.7.0/lib/python3.10/site-packages/installer/destinations.py", line 203, in write_file
       >     return self.write_to_fs(
       >   File "/nix/store/qg1mq5b71pbhnvpa8l1024prdymn2hkc-python3.10-installer-0.7.0/lib/python3.10/site-packages/installer/destinations.py", line 167, in write_to_fs
       >     raise FileExistsError(message)
       > FileExistsError: File already exists: /nix/store/jr3mlipbs9s578brpwmbcppbbvd52hzd-awsebcli-3.20.7/bin/eb

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@groodt
Copy link

groodt commented Sep 21, 2024

We're also running into this. The scripts directive is very old and unnecessary when you have console_scripts.

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.

2 participants