diff --git a/MANIFEST.in b/MANIFEST.in index 9c004de..d8aabc5 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,9 +1,12 @@ -exclude .* -prune .github -global-exclude *~ - include README.rst include LICENSE + graft uap-core -exclude uap-core/.* -recursive-exclude uap-core *.js + +prune .github +prune uap-core/.github +global-exclude *~ +global-exclude .* +global-exclude *.js +global-exclude __pycache__ +global-exclude *.py[co] diff --git a/pyproject.toml b/pyproject.toml index 920fcd0..1dae0e6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,6 +43,12 @@ classifiers = [ "Programming Language :: Python :: Implementation :: PyPy" ] +[tool.setuptools.packages.find] +where = ["src"] + +[tool.setuptools.package-data] +"ua_parser" = ["py.typed"] + [tool.ruff.lint] select = ["F", "E", "W", "I", "RET", "RUF", "PT"] ignore = [ diff --git a/src/ua_parser/py.typed b/src/ua_parser/py.typed new file mode 100644 index 0000000..e69de29