I have been reusing several python projects and when I execute python setup.py install all the code gets copied into /usr/lib/python2.7/dist-packages. Now I am trying to create my own Python project and this is my setup.py
from setuptools import setup, find_packages
setup(
name = "My project",
version = "0.1",
license = "BSD",
packages=find_packages(),
)
However, that copies all my scripts into a /build directory which gets created in the directory where the setup.py is. How can I change that behaviour and so that the scripts move to /usr/lib/python2.7/dist-packages instead?