Skip to content

Commit

Permalink
Python 3.5 doesn't know find_namespace_packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Thf772 committed Oct 3, 2023
1 parent 13985a4 commit 713d957
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions example/namespaces/package-core/setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from setuptools import setup, find_namespace_packages
from setuptools import setup
kwargs = {
"name" : "test-dso-nsp-core",
"version" : "0.0.1",
"install_requires" : [],
"packages" : find_namespace_packages(include = ["testnsp.testcore", "testnsp.testcore.*"]),
"packages" : ["testnsp", "testnsp.testcore"],
}

setup(**kwargs)
3 changes: 1 addition & 2 deletions example/namespaces/package-dso/setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from setuptools_dso import DSO, Extension, setup
from setuptools import find_namespace_packages
thedso = DSO (
"testnsp.testdso.thedso",
["testnsp/testdso/libtest.c"],
Expand All @@ -14,7 +13,7 @@
"name" : "test-dso-nsp-dso",
"version" : "0.0.1",
"install_requires" : ["test-dso-nsp-core"],
"packages" : find_namespace_packages(include = ["testnsp.testdso", "testnsp.testdso.*"]),
"packages" : ["testnsp", "testnsp.testdso"],
}

setup(
Expand Down

0 comments on commit 713d957

Please sign in to comment.