Skip to content

Commit

Permalink
Fix hydra plugin discovery (#77)
Browse files Browse the repository at this point in the history
* Fix hydra plugin discovery

* Include configs as package data

* Fix code formatting to please the gods

* Change the formatting again; adding a comma was all that was needed
  • Loading branch information
lemairecarl authored Aug 26, 2022
1 parent c0c6669 commit 101c212
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
global-exclude *.pyc
global-exclude __pycache__
recursive-include vital/* *.yaml
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
import pathlib

from setuptools import find_packages, setup
from setuptools import find_namespace_packages, find_packages, setup

# https://packaging.python.org/guides/single-sourcing-package-version/
# http://blog.ionelmc.ro/2014/05/25/python-packaging/
Expand Down Expand Up @@ -55,7 +55,7 @@ def load_long_description(): # noqa: D103
author_email="nathan.painchaud@usherbrooke.ca",
url="https://github.com/nathanpainchaud/vital",
license="Apache-2.0",
packages=find_packages(),
packages=find_namespace_packages(include=["hydra_plugins.*"]) + find_packages(),
long_description=load_long_description(),
long_description_content_type="text/markdown",
python_requires=">=3.10",
Expand All @@ -73,4 +73,5 @@ def load_long_description(): # noqa: D103
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
],
include_package_data=True,
)

0 comments on commit 101c212

Please sign in to comment.