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

Problems pip installing the package #8

Closed
Excaliburg opened this issue Oct 24, 2023 · 3 comments · Fixed by #9
Closed

Problems pip installing the package #8

Excaliburg opened this issue Oct 24, 2023 · 3 comments · Fixed by #9

Comments

@Excaliburg
Copy link

Hey!

I tried installing the package following your gide and it seems to be missing a line in the "setup.py" file. You should add this line: py_modules=[], inside the setup() in order to avoid getting this error:

"error: Multiple top-level packages discovered in a flat-layout: ['assets', 'pyforc', 'notebooks'].

To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.

If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:

  1. set up custom discovery (find directive with include or exclude)
  2. use a src-layout
  3. explicitly set py_modules or packages with a list of names

To find more information, look for "package discovery" on setuptools docs."

@peytondmurray
Copy link
Owner

Hey, sorry I missed this somehow back in October. I wrote this a long while back - let me see how I can reorganize this into a sensible layout. Hang on...

@peytondmurray
Copy link
Owner

@Excaliburg I did a bunch of maintenance fixes today, tested in a fresh environment, and it all seems to be running just fine again. Can you please try installing again and let me know if you hit any trouble?

Sorry again about the slow response here!

@Excaliburg
Copy link
Author

Thanks! I had no problem in installing it now. :)

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 a pull request may close this issue.

2 participants