Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write setup.py for installing python module without making .egg file

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.

like image 529
pjain Avatar asked Dec 06 '25 03:12

pjain


1 Answers

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.

like image 125
Dzhuang Avatar answered Dec 08 '25 19:12

Dzhuang



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!