Skip to content

Commit

Permalink
fix pip install for older setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Moors committed Sep 20, 2023
1 parent ac08336 commit 82db6ac
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@ requires-python = ">=3.6"
"Bug Tracker" = "https://github.com/EESSI/test-suite/issues"

[tool.setuptools.packages.find]
where = ["eessi/testsuite"]
where = ["src"]
include = ["eessi*"]
namespaces = true
8 changes: 4 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ project_urls =
install_requires =
setuptools
python_requires = >=3.6
packages = find:
package_dir =
=eessi/testsuite
=src
packages = find:
namespace_packages = eessi

[options.packages.find]
where = eessi/testsuite
where = src
include = eessi*
namespaces = true
1 change: 1 addition & 0 deletions src/eessi/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__import__("pkg_resources").declare_namespace(__name__)
Empty file added src/eessi/testsuite/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 82db6ac

Please sign in to comment.