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

Add tool.setuptools:py-modules to pyproject.toml file #181

Open
PinkShnack opened this issue Dec 3, 2024 · 0 comments
Open

Add tool.setuptools:py-modules to pyproject.toml file #181

PinkShnack opened this issue Dec 3, 2024 · 0 comments

Comments

@PinkShnack
Copy link
Member

As it came up in another PR (#146), I couldn't install shapeout2 with pip install -e .[all] because of pyproject searching for project names, and taking e.g. "venv311" as a possible package name alongside "shapeout2". See here: #146 (comment)

This fixes the issue for me:

[tool.setuptools]
py-modules = ['shapeout2']

but as mentioned in the above link, apparently naming your environment ".env" or having the env outside the repo will also fix the issue. I don't think that's very realistic. I have multiple environments, and naturally keep track of them by naming them "venv3XY" e.g. "venv39", "venv312".

Also, PyCharm's default is "venv".

@PinkShnack PinkShnack mentioned this issue Dec 3, 2024
6 tasks
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

No branches or pull requests

1 participant