File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 137137 # If there are data files included in your packages that need to be
138138 # installed, specify them here. If using Python 2.6 or less, then these
139139 # have to be included in MANIFEST.in as well.
140- # package_data={
141- # 'sample': ['package_data.dat'],
142- # },
140+ # Note: we use the empty string so that this also works with submodules
141+ package_data = {"" : ['py.typed' , '*.pyi' ]},
143142
144143 # Although 'package_data' is the preferred approach, in some case you may
145144 # need to place data files outside of your packages. See:
155154 # 'sample=sample:main',
156155 # ],
157156 # },
157+
158+ # explicitly setting the flag to avoid `ply` being downloaded
159+ # see https://github.com/smarie/python-getversion/pull/5
160+ # and to make mypy happy
161+ # see https://mypy.readthedocs.io/en/latest/installed_packages.html
162+ zip_safe = False ,
158163)
You can’t perform that action at this time.
0 commit comments