Python Packaging: Data files are put properly in tar.gz file but are not installed to virtual environment

前端 未结 5 1533
野趣味
野趣味 2020-12-07 20:24

I can\'t properly install the project package_fiddler to my virtual environment.

I have figured out that MANIFEST.in is responsib

5条回答
  •  庸人自扰
    2020-12-07 21:05

    use

    package_data={"data": ['package_fiddler/data',]}
    

    instead of

    packages=['package_fiddler',]
    

提交回复
热议问题