Skip to content

Commit

Permalink
Remove package finding AND add to module exports (#407)
Browse files Browse the repository at this point in the history
* Remove package finding AND add to module exports

* Clear out top-level `__init__.py`

* Reinclude explicit exports

* Include subpackages

* Skip incorrect lint error

* reorder imports for lint

* revert previous commit and add missing space before noqa

---------

Co-authored-by: Sam Witty <[email protected]>
  • Loading branch information
fivegrant and SamWitty committed Nov 3, 2023
1 parent ccd1e4a commit 46ebe9f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -339,3 +339,4 @@ venv/
*~
*_schema.json
*data_with_missing_entries.csv
*.nix
3 changes: 2 additions & 1 deletion pyciemss/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
from .mira_integration import compiled_dynamics # noqa: F401
from pyciemss.interfaces import sample # noqa: F401
from pyciemss.mira_integration import compiled_dynamics # noqa: F401
14 changes: 4 additions & 10 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,15 @@ zip_safe = false
include_package_data = true
python_requires = >=3.8

packages = find:

package_dir =
= pyciemss
packages =
pyciemss
pyciemss.integration_utils
pyciemss.mira_integration

[options.package_data]
* = *.json


[options.packages.find]

where =
pyciemss


[options.extras_require]
tests =
pytest
Expand Down

0 comments on commit 46ebe9f

Please sign in to comment.