install package from github repository


C

C. Ng

Hi,

I have cloned someone's repository on my local drive using git command:
git clone http://github.com/xxx.git

But I don't find any setup.py file. How do I install the package xxx? So that I can 'import xxx' in my python script.

Many thanks.
 
Ad

Advertisements

C

Chris Angelico

Hi,

I have cloned someone's repository on my local drive using git command:
git clone http://github.com/xxx.git

But I don't find any setup.py file. How do I install the package xxx? So that I can 'import xxx' in my python script.

Does the package have installation instructions? Look for a README or similar.

ChrisA
 
C

C. Ng

Ok, that seems to work... I modified from another package.
I don't understand how setup.py does it exactly, but got it done anyways.
 
Ad

Advertisements

A

Amirouche Boubekki

2013/11/6 C. Ng said:
Ok, that seems to work... I modified from another package.

cool


I don't understand how setup.py does it exactly, but got it done anyways.

as usual :)
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top