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

Fail to install when trying to use package with pyproject.toml in develop #645

Open
tyctor opened this issue Feb 5, 2024 · 1 comment
Open

Comments

@tyctor
Copy link

tyctor commented Feb 5, 2024

Hi

when i want to use package in develop
and package have only pyproject.toml (no setup.py)
installation fails

Develop: '/home/tyctor/projects/punctum.cz/src/django-tinymce'
Traceback (most recent call last):
  File "/tmp/tmpac98s9w_", line 13, in <module>
    with open('/home/tyctor/projects/punctum.cz/src/django-tinymce/setup.py') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/tyctor/projects/punctum.cz/src/django-tinymce/setup.py'
While:
  Installing.
  Processing develop directory '/home/tyctor/projects/punctum.cz/src/django-tinymce'.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/home/tyctor/projects/punctum.cz/lib/python3.9/site-packages/zc/buildout/buildout.py", line 2252, in main
    getattr(buildout, command)(args)
  File "/home/tyctor/projects/punctum.cz/lib/python3.9/site-packages/zc/buildout/buildout.py", line 718, in install
    installed_develop_eggs = self._develop()
  File "/home/tyctor/projects/punctum.cz/lib/python3.9/site-packages/zc/buildout/buildout.py", line 961, in _develop
    zc.buildout.easy_install.develop(setup, dest)
  File "/home/tyctor/projects/punctum.cz/lib/python3.9/site-packages/zc/buildout/easy_install.py", line 1120, in develop
    call_subprocess(args)
  File "/home/tyctor/projects/punctum.cz/lib/python3.9/site-packages/zc/buildout/easy_install.py", line 172, in call_subprocess
    raise Exception(
Exception: Failed to run command:
'/home/tyctor/projects/punctum.cz/bin/python3.9', '/tmp/tmpac98s9w_', '-q', 'develop', '-mN', '-d', '/home/tyctor/projects/punctum.cz/develop-eggs/tmpufy542nabuild'
@icemac
Copy link

icemac commented Feb 6, 2024

Currently buildout only supports packages which have a setup.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants