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.
-
inside my setup.py, i tried zip_safe= False, but still my packages are getting installed as zip folder instead of directory.pjain– pjain2015-03-03 09:54:37 +00:00Commented Mar 3, 2015 at 9:54
-
I want to install my package as a directory, not as an egg folderpjain– pjain2015-03-03 09:55:09 +00:00Commented Mar 3, 2015 at 9:55
Add a comment
|
1 Answer
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.