3

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.

AstroCB
  • 12,337
  • 20
  • 57
  • 73
pjain
  • 663
  • 10
  • 21
  • 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 Answers1

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.

Community
  • 1
  • 1
Dzhuang
  • 1,895
  • 1
  • 14
  • 15