I want to create a setup.py
file, which will install a Python module (say, abc
) and make a folder abc
inside of /Library/Python/2.7/site-packages
instead of making an abc.egg
file.
Asked
Active
Viewed 2,327 times
3
-
inside my setup.py, i tried zip_safe= False, but still my packages are getting installed as zip folder instead of directory. – pjain Mar 03 '15 at 09:54
-
I want to install my package as a directory, not as an egg folder – pjain Mar 03 '15 at 09:55
1 Answers
1
According to this answer, you can use
pip install .
to install the package from inside the /path/to/your/setup.py/
to achieve that result.