forked from pool/python-pyodbc
18 lines
615 B
Diff
18 lines
615 B
Diff
|
Index: pyodbc-4.0.35/setup.py
|
||
|
===================================================================
|
||
|
--- pyodbc-4.0.35.orig/setup.py
|
||
|
+++ pyodbc-4.0.35/setup.py
|
||
|
@@ -94,9 +94,9 @@ def main():
|
||
|
|
||
|
'ext_modules': [Extension('pyodbc', sorted(files), **settings)],
|
||
|
|
||
|
- 'data_files': [
|
||
|
- ('', ['src/pyodbc.pyi']) # places pyodbc.pyi alongside pyodbc.py in site-packages
|
||
|
- ],
|
||
|
+ 'packages': [''],
|
||
|
+ 'package_dir': {'': 'src'},
|
||
|
+ 'package_data': {'': ['pyodbc.pyi']}, # places pyodbc.pyi alongside pyodbc.{platform}.{pyd|so} in site-packages
|
||
|
|
||
|
'license': 'MIT',
|
||
|
|