Skip to content

Commit 0796b07

Browse files
dirkmuelleremasab
authored andcommitted
list the LICENSE as a license_file
Data files are installed in the wrong directory when packaging this, and it is very uncommon to do so. data files should be files needed for the runtime only.
1 parent a27d113 commit 0796b07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def get_install_requirements(path):
8383
ext_modules=[module],
8484
packages=find_packages('src'),
8585
package_dir={'': 'src'},
86-
data_files=[('', [os.path.join(work_dir, 'LICENSE.txt')])],
86+
license_files=('LICENSE.txt', ),
8787
install_requires=INSTALL_REQUIRES,
8888
classifiers=trove_classifiers,
8989
extras_require={

0 commit comments

Comments
 (0)