简体   繁体   中英

Copy files to site-packages

I want to copy some files to the site-packages folder.

How to define in setup.py to copy files to the site-packes folder instead of a subfolder?

The site-packages directories is supposed to contain modules (eg spam.py) or packages (spam/__init__.py). In a setup script, the things referenced in py_modules and packages will get installed in site-packages. Could you explain what it is you want to do that does not work with py_modules or packages?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM