Skip to content

Commit

Permalink
specify py.typed in MANIFEST.in
Browse files Browse the repository at this point in the history
  • Loading branch information
rmorshea committed Jan 15, 2021
1 parent 46587ad commit f6f7317
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include LICENSE README.md
include spectate/py.typed
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@
from setuptools import find_packages
from distutils.core import setup

name = "spectate"

# paths used to gather files
here = os.path.abspath(os.path.dirname(__file__))
pkg_root = os.path.join(here, package["name"])
pkg_root = os.path.join(here, name)

# -----------------------------------------------------------------------------
# Package Basics
# -----------------------------------------------------------------------------

package = dict(
name="spectate",
name=name,
license="MIT",
packages=find_packages(exclude=["tests"]),
python_requires=">=3.6",
Expand All @@ -24,7 +26,6 @@
keywords=["eventful", "callbacks", "mutable", "MVC", "model", "view", "controller"],
platforms="Linux, Mac OS X, Windows",
include_package_data=True,
package_data={"spectate": [os.path.join("spectate", "py.typed")]},
)

# -----------------------------------------------------------------------------
Expand Down

0 comments on commit f6f7317

Please sign in to comment.