Skip to content

Commit 00de470

Browse files
committed
fix setup
1 parent 0b9accb commit 00de470

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

setup.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[options]
2+
packages = find:
3+
4+
[options.packages.find]
5+
include = onnx_array_api*

setup.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
here = os.path.dirname(__file__)
1212
if here == "":
1313
here = "."
14-
packages = find_packages(where=here)
15-
package_dir = {k: os.path.join(here, k.replace(".", "/")) for k in packages}
1614
package_data = {}
1715

1816
try:
@@ -48,8 +46,6 @@
4846
author="Xavier Dupré",
4947
author_email="[email protected]",
5048
url="https://github.com/sdpython/onnx-array-api",
51-
packages=packages,
52-
package_dir=package_dir,
5349
package_data=package_data,
5450
setup_requires=["numpy", "scipy"],
5551
install_requires=requirements,

0 commit comments

Comments
 (0)