LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   In python how to add tools? (https://www.linuxquestions.org/questions/general-10/in-python-how-to-add-tools-4175470611/)

moreroz 07-23-2013 07:19 AM

In python how to add tools?
 
Hello eyerybody,
I have a problem ! I want to add python-msp430-tools to my phyton.How?
I mean I installed python in win7 and in order to work with msp430 I downloaded msp from this link https://pypi.python.org/pypi/python-msp430-tools
But I do not know how to add this ti python?
Any help will be useful and I appreciate that.

best regards.

bigrigdriver 07-23-2013 09:51 AM

From what I see at the link you gave, the file you downloaded is a tar archive compressed using the gzip utility. You can uncompress the file in a terminal using this command: gunzip python-msp-430-tools-0.6.tar.gz

Or you can view the file in the ark archive tool.

It either case, there should be a README or INSTALL file to give you instructions on how to install the package.

dugan 07-23-2013 11:53 AM

There's a setup.py file in the archive. Unarchive the archive, then use python to run the setup.py file.

As in:

Code:

cd python-msp-430-tools-0.6
c:\python27\python setup.py install



All times are GMT -5. The time now is 01:02 PM.