Skip to content

Commit

Permalink
Fixing some missing bits
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Mar 6, 2020
1 parent 8498885 commit 6d19da5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,4 @@ ENV/

# Generated
/src/skhep_testdata/version.py
/pip-wheel-metadata/*
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
requires = [
"setuptools>=42",
"wheel",
"setuptools_scm[toml]>3.4"
]

build-backend = "setuptools.build_meta"
Expand Down
21 changes: 8 additions & 13 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ exclude = docs
test = pytest

[tool:pytest]
collect_ignore = ['setup.py']
addopts = -v -x --doctest-modules --ignore=setup.py --cov=skhep_testdata --pep8
pep8maxlinelength = 120
norecursedirs = src

[metadata]
name = scikit-hep-testdata
Expand All @@ -28,26 +28,23 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8

description = "Example HEP files for testing and demonstrating",
install_requires =
pyyaml
importlib_resources>=1.1
contextlib2; python_version<"3.3"
license = BSD 3-clause
long_description = file: README.md
long_description_content_type = text/markdown
include_package_data = True
url = "https://github.com/scikit-hep/scikit-hep-testdata"
keywords =
ROOT
HEP
testing
packages = find:
url = "https://github.com/scikit-hep/scikit-hep-testdata"
zip_safe = True


[options]
install_requires =
pyyaml
importlib_resources>=1.1
contextlib2; python_version<"3.3"
include_package_data = True
zip_safe = True
package_dir=
=src
packages = find:
Expand All @@ -60,5 +57,3 @@ test =
pytest
pytest-cov
pytest-pep8


2 changes: 1 addition & 1 deletion src/skhep_testdata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
from .local_files import data_path

# Convenient access to the version number
from .version import __version__
from .version import version as __version__

__all__ = ["data_path"]

0 comments on commit 6d19da5

Please sign in to comment.