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
• 1,530 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
• 1,610 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 128 views
0 votes
1 answer

Is it possible to run a function in Python using the command line?

Suppose your file name is demo.py and ...READ MORE

answered Jun 26 in Python by Neel
• 1,610 points
+1 vote
1 answer

is it possible to compare a values to a backslash in Python?

The backslash "\" character is used to ...READ MORE

answered Jun 28 in Python by Neel
• 1,610 points