What is setup.py in Python?

0 votes
What is setup.py in python and also I want to know its usage?
Jul 9 in Python by Arvind
• 2,960 points

1 answer to this question.

0 votes

Suppose you want to install a module in Python the setup.py helps you know that the module has been packaged and distributed with Distutils. This is the standard for distributing modules.

This allows you to easily install Python packages.

$ python setup.py install

and the module will be installed on its own

answered Jul 10 by Neel
• 3,010 points

Related Questions In Python

+2 votes
3 answers

what is the practical use of polymorphism in Python?

Polymorphism is the ability to present the ...READ MORE

answered Mar 31, 2018 in Python by anto.trigg4
• 3,420 points
+4 votes
7 answers
+1 vote
3 answers
0 votes
1 answer

What is the use of raw_input function in Python?

raw_input fuction is no longer available in ...READ MORE

answered May 2, 2018 in Python by aayushi
• 750 points
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 216 views
0 votes
1 answer

What is random.sample() method in Python?

sample() is an inbuilt function of random module in Python ...READ MORE

answered Aug 5 in Python by Neel
• 3,010 points
0 votes
1 answer

What is the procedure to install python packages in IPython?

You can use the '!' prefix like ...READ MORE

answered Aug 21 in Python by Neel
• 3,010 points