Webinclude_package_dataand zip_safemight not be. include_package_datatells setuptools to look for a MANIFEST.infile and install all the entries that match as package data. We will use this to distribute the static files and templates along with the Python module (see Distributing Resources). The zip_safeflag can be used to WebFor the simplest use, you can simply use the include_package_data keyword: pyproject.toml ( BETA) [ 2] [tool.setuptools] include-package-data = true # This is already the default …
package data in subdirectory causes warning #3340 - Github
WebMar 17, 2024 · Found the description of include-package-data: Include data files of the given package name. Can use patterns. By default Nuitka does not unless hard coded and vital for operation of a package. This will include all non-DLL, non-extension modules in the distribution. Default empty. WebAug 22, 2024 · Alternatively, if the project specifies its package data with the package_data argument, including a "*" pattern in the package_data mapping is liable to cause *.pyc files to be included in the wheel. They should be excluded from package data by setting exclude_package_data to a dict that maps the appropriate keys to ["*.pyc"]. fnc leatherworks
setup.py: data files · My Python Scrapbook
WebApr 7, 2024 · Stock and bond markets are closed for Good Friday, hiring slows in March, McDonald’s restructuring includes pay package cuts, the Masters tournament to deliver winning golfer payday worth ... WebI agree, this looks like a bug. However, when you say --include-module=some_package that limits the inclusion apparently and is not what is intended. I assume if you remove it, the issue is gone, because parent packages get included. For including a whole package, you put --include-package.But it seems I will need to have a look of my own and h5py could … WebDec 9, 2024 · Modules and __init__.py. When the python interpreter encounters the following line: 1. import mymodule. It will try to find a directory called mymodule that contains a file with the special name __init__.py, which is then executed: 1 2 3. $ ls site-packages/mymodule/ __init__.py _mymodule.so. fncl etf reddit