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.

2
  • inside my setup.py, i tried zip_safe= False, but still my packages are getting installed as zip folder instead of directory. Commented Mar 3, 2015 at 9:54
  • I want to install my package as a directory, not as an egg folder Commented Mar 3, 2015 at 9:55

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.