Skip to content

Commit 9a582d7

Browse files
committed
Designate case_utils as a typed package
References: * [AC-211] Add static type checking to CASE-Utilities-Python * https://www.python.org/dev/peps/pep-0561/ Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
1 parent d1ca249 commit 9a582d7

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

case_utils/py.typed

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# This software was developed at the National Institute of Standards
2+
# and Technology by employees of the Federal Government in the course
3+
# of their official duties. Pursuant to title 17 Section 105 of the
4+
# United States Code this software is not subject to copyright
5+
# protection and is in the public domain. NIST assumes no
6+
# responsibility whatsoever for its use by other parties, and makes
7+
# no guarantees, expressed or implied, about its quality,
8+
# reliability, or any other characteristic.
9+
#
10+
# We would appreciate acknowledgement if the software is used.
11+
12+
# This file is defined to support PEP 561:
13+
# https://www.python.org/dev/peps/pep-0561/

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ classifiers =
1515
Programming Language :: Python :: 3
1616

1717
[options]
18+
include_package_data = true
1819
# TODO The constraint on pyparsing can be removed when rdflib Issue #1190 is resolved.
1920
# https://github.com/RDFLib/rdflib/issues/1190
2021
install_requires =
@@ -32,3 +33,6 @@ console_scripts =
3233
case_sparql_construct = case_utils.case_sparql_construct:main
3334
# Note that numpy (pandas dependency, and pandas is dependency of case_sparql_select) is only supported in Python >= 3.7.
3435
case_sparql_select = case_utils.case_sparql_select:main
36+
37+
[options.package_data]
38+
case_utils = py.typed

0 commit comments

Comments
 (0)