Skip to content

Commit

Permalink
location of pyodbc.pyi on install
Browse files Browse the repository at this point in the history
  • Loading branch information
keitherskine authored and mkleehammer committed Aug 29, 2023
1 parent 29635de commit f71e2b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
include src/*.h
include src/*.cpp
include tests2/*
include tests3/*
include tests/*
include README.*
include LICENSE.txt

Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ def main():
maintainer_email="michael@kleehammer.com",
url='https://github.com/mkleehammer/pyodbc',
ext_modules=[Extension('pyodbc', sorted(files), **settings)],
data_files=[
('', ['src/pyodbc.pyi']) # places pyodbc.pyi alongside pyodbc.py in site-packages
],
include_package_data=False,
packages=[''],
package_dir={'': 'src'},
package_data={'': ['pyodbc.pyi']}, # places pyodbc.pyi alongside pyodbc.{platform}.{pyd|so} in site-packages
license='MIT',
python_requires='>=3.7',
classifiers=['Development Status :: 5 - Production/Stable',
Expand Down

0 comments on commit f71e2b5

Please sign in to comment.