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

I think this is all i need for #22 #25

Merged
merged 1 commit into from
Mar 30, 2021
Merged

I think this is all i need for #22 #25

merged 1 commit into from
Mar 30, 2021

Conversation

chendaniely
Copy link
Owner

Should fix #22
Mainly followed the instructions listed in that issue that pointed to this page: https://hynek.me/articles/testing-packaging/#src

To achieve that, you just move your packages into a src directory and add a where argument to find_packages() in your setup.py:

setup(
    [...]
    packages=find_packages(where="src"),
    package_dir={"": "src"},
)

@chendaniely chendaniely merged commit 4bbd99e into dev Mar 30, 2021
@chendaniely chendaniely deleted the package_src_test branch March 30, 2021 02:35
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.

1 participant