What is setup.py in Python?

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

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, 2019 by Neel
• 3,010 points

Related Questions In Python

0 votes
1 answer

What is the difference between .py and .pyc files in Python?

Hi, @Roshni, You can follow a few steps ...READ MORE

answered Jun 23 in Python by Gitika
• 54,140 points
812 views
+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,440 points
2,523 views
+4 votes
7 answers
+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, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 1,591 views
0 votes
0 answers
0 votes
2 answers

What is random.sample() method in Python?

The use of random.sample() Randomly select multiple items from ...READ MORE

answered Mar 13 in Python by Vishal
• 180 points
1,545 views
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, 2019 in Python by Neel
• 3,010 points
91 views