Skip to content

Commit

Permalink
Fix pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
holgern committed Feb 29, 2024
1 parent 342d95c commit bff3e7b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ pip-log.txt
*.wpu
*.wpr
.pypirc
rdatasets/_version.py
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ include-package-data = true
where = ["rdatasets"]

[tool.setuptools.package-data]
rdatasets = ["*.compress", "*.pickle"]
"rdatasets._data" = ["*.compress", "*.pickle"]
"*" = ["*.compress", "*.pickle"]

[project]
name = "rdatasets"
Expand Down
4 changes: 2 additions & 2 deletions rdatasets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See LICENSE for license details.


from .data import data, descr, get_data_path, items, packages, summary
from .rdatasets import data, descr, get_data_path, items, packages, summary


__all__ = [s for s in dir() if not s.startswith('_')]
__all__ = ['packages', 'items', 'data', 'get_data_path', 'descr', 'summary']
2 changes: 0 additions & 2 deletions rdatasets/data.py → rdatasets/rdatasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

import pandas as pd

__all__ = ['packages', 'items', 'data', 'get_data_path', 'descr', 'summary']


def packages():
"""Show all package names."""
Expand Down
Empty file added tests/__init__.py
Empty file.

0 comments on commit bff3e7b

Please sign in to comment.