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

Export as setup.py #3975

Closed
2 tasks done
BD103 opened this issue Apr 19, 2021 · 2 comments
Closed
2 tasks done

Export as setup.py #3975

BD103 opened this issue Apr 19, 2021 · 2 comments
Labels
kind/feature Feature requests/implementations

Comments

@BD103
Copy link

BD103 commented Apr 19, 2021

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

This feature would enable exporting a pyproject.toml file to a setup.py file. I found that locking the pyproject.toml file gives the temp file and a setup.py. Running this command would follow the same process, but would not remove setup.py.

$ poetry export -f setup.py
# -*- coding: utf-8 -*-
from setuptools import setup

packages = \
['pkg']

package_data = \
{'': ['*']}

install_requires = \
['dependency>=1.0.0<2.0.0']

setup_kwargs = {
  'name': 'pkg',
  ...
}

setup(**setup_kwargs)
@BD103 BD103 added kind/feature Feature requests/implementations status/triage This issue needs to be triaged labels Apr 19, 2021
@abn abn added wontfix and removed status/triage This issue needs to be triaged labels Apr 19, 2021
@abn
Copy link
Member

abn commented Apr 19, 2021

This is not something that we will support in poetry. This was discussed a few times before, see the following for context.

@abn abn closed this as completed Apr 19, 2021
Copy link

github-actions bot commented Mar 2, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Feature requests/implementations
Projects
None yet
Development

No branches or pull requests

2 participants