You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example has several files that are a good idea, but aren't strictly
41
+
necessary. The necessary files are:
42
+
43
+
*`pyproject.toml`: The Python project file
44
+
*`CMakeLists.txt`: The CMake configuration file
45
+
*`src/main.cpp`: The source file for the C++ build
46
+
*`src/scikit_build_example/__init__.py`: The Python portion of the module. The root of the module needs to be `<package_name>`, `src/<package_name>`, or `python/<package_name>` to be auto-discovered.
47
+
48
+
These files are also expected and highly recommended:
49
+
50
+
*`.gitignore`: Git's ignore list, also used by `scikit-build-core` to select files for the SDist
51
+
*`README.md`: The source for the PyPI description
52
+
*`LICENSE`: The license file
34
53
35
-
CI Examples
36
-
-----------
54
+
There are also several completely optional directories:
55
+
56
+
*`.github`: configuration for [Dependabot][] and [GitHub Actions][]
57
+
*`conda.recipe`: Example recipe. Normally you should submit projects to conda-forge instead of building them yourself, but this is useful for testing the example.
58
+
*`docs/`: Documentation
59
+
*`tests/`: Tests go here
60
+
61
+
And some optional files:
62
+
63
+
*`.pre-commit-config.yaml`: Configuration for the fantastic static-check runner [pre-commit][].
64
+
*`noxfile.py`: Configuration for the [nox][] task runner, which helps make setup easier for contributors.
65
+
66
+
This is a simplified version of the recommendations in the [Scientific-Python
67
+
Development Guide][], which is a _highly_ recommended read for anyone
68
+
interested in Python package development (Scientific or not). The guide also
69
+
has a cookiecutter that includes scikit-build-core and pybind11 as a backend
70
+
choice.
71
+
72
+
### CI Examples
37
73
38
74
There are examples for CI in `.github/workflows`. A simple way to produces
39
75
binary "wheels" for all platforms is illustrated in the "wheels.yml" file,
40
-
using [`cibuildwheel`][].
76
+
using [cibuildwheel][].
41
77
42
-
License
43
-
-------
78
+
## License
44
79
45
80
pybind11 is provided under a BSD-style license that can be found in the LICENSE
46
81
file. By using, distributing, or contributing to this project, you agree to the
0 commit comments