Skip to content

Commit 7f632e2

Browse files
committed
Added missing test data
1 parent becb8a2 commit 7f632e2

37 files changed

+131
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#define Py_LIMITED_API 0x03020000
2+
#include <Python.h>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[bdist_wheel]
2+
py_limited_api=cp32
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
from __future__ import annotations
2+
3+
from setuptools import Extension, setup
4+
5+
setup(
6+
name="extension.dist",
7+
version="0.1",
8+
description="A testing distribution \N{SNOWMAN}",
9+
ext_modules=[
10+
Extension(name="extension", sources=["extension.c"], py_limited_api=True)
11+
],
12+
)

setuptools/tests/bdist_wheel_testdata/commasinfilenames.dist/mypackage/__init__.py

Whitespace-only changes.

setuptools/tests/bdist_wheel_testdata/commasinfilenames.dist/mypackage/data/1,2,3.txt

Whitespace-only changes.

setuptools/tests/bdist_wheel_testdata/commasinfilenames.dist/mypackage/data/__init__.py

Whitespace-only changes.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
from __future__ import annotations
2+
3+
from setuptools import setup
4+
5+
setup(
6+
name="testrepo",
7+
version="0.1",
8+
packages=["mypackage"],
9+
description="A test package with commas in file names",
10+
include_package_data=True,
11+
package_data={"mypackage.data": ["*"]},
12+
)

setuptools/tests/bdist_wheel_testdata/commasinfilenames.dist/testrepo-0.1.0/mypackage/__init__.py

Whitespace-only changes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from __future__ import annotations
2+
3+
4+
def main():
5+
return
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
from __future__ import annotations
2+
3+
from setuptools import setup
4+
5+
setup(
6+
name="complex-dist",
7+
version="0.1",
8+
description="Another testing distribution \N{SNOWMAN}",
9+
long_description="Another testing distribution \N{SNOWMAN}",
10+
author="Illustrious Author",
11+
author_email="[email protected]",
12+
url="http://example.org/exemplary",
13+
packages=["complexdist"],
14+
setup_requires=["wheel", "setuptools"],
15+
install_requires=["quux", "splort"],
16+
extras_require={"simple": ["simple.dist"]},
17+
tests_require=["foo", "bar>=10.0.0"],
18+
entry_points={
19+
"console_scripts": [
20+
"complex-dist=complexdist:main",
21+
"complex-dist2=complexdist:main",
22+
],
23+
},
24+
)

0 commit comments

Comments
 (0)