What is setup py in Python

0 votes
What is setup.py in python and also I want to know its usage?
Jul 10, 2019 in Python by Arvind
• 3,000 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, 2019 by Neel
• 3,020 points

Related Questions In Python

+1 vote
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, 2020 in Python by Gitika
• 65,950 points
+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
+4 votes
7 answers
0 votes
2 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 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 2,400 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, 2020 in Python by Vishal
• 180 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, 2019 in Python by Neel
• 3,020 points