Razer
Razer

Reputation: 8211

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?

Upvotes: 2

Views: 1732

Answers (1)

merwok
merwok

Reputation: 6905

The site-packages directories is supposed to contain modules (e.g. 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?

Upvotes: 1

Related Questions