-
Notifications
You must be signed in to change notification settings - Fork 31
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
Single module package? #63
Comments
Sure you can! I waffled a bit on showing such an example here, but most of the time a realistic package probably grows to have at least a little bit in Python, so that's why the example here is with a module. You can see at least one example in scikit-build-core's tests, but the idea is simple: install directly to "." rather than a folder name, and don't have a folder with the package name in the repo. Make sure you name the extension nicely, since it's going in site-packages as-is. You can also have a Python |
Hi Henry,
Is there a way?
Is this how to achieve that? And maybe related to that: Why do we use scikit-build-core instead of scikit-build here? I am a bit confused |
Sorry, missed this. You want this:
You'd just have Scikit-build-core is the modern builder for scikit-build. Eventually, scikit-build will just use scikit-build-core anyway. |
Hi, how would I go about creating a single module package? Say I have one module with a few classes. The automatically generated signatures of the class functions contain then something like
packagename.modulename.classname
However, as this package only contains one module, the packagename and modulename are redundant information. Is there away to create just the module, and not a package? Or to omit these names in the signatures?
The text was updated successfully, but these errors were encountered: