We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b85f6fa commit e7f8f99Copy full SHA for e7f8f99
pyproject.toml
@@ -36,6 +36,7 @@ dev = [
36
]
37
38
[tool.setuptools]
39
+package-dir = { "" = "src" }
40
package-data = { no_code = ["py.typed"] }
41
42
[tool.setuptools.dynamic]
setup.py
@@ -6,4 +6,12 @@
6
7
SITE_PACKAGES = sysconfig.get_path("purelib").split(sys.prefix + os.sep)[1]
8
9
-setup(data_files=[(SITE_PACKAGES, ["src/no_code/no.pth"])])
+setup(
10
+ package_dir={"": "src"},
11
+ data_files=[
12
+ (
13
+ SITE_PACKAGES,
14
+ ["src/no_code/no.pth"],
15
+ ),
16
+ ],
17
+)
0 commit comments