Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #58438 > unrolled thread

install package from github repository

Started by"C. Ng" <ngcbmy@gmail.com>
First post2013-11-04 01:56 -0800
Last post2013-11-05 23:05 -0800
Articles 6 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  install package from github repository "C. Ng" <ngcbmy@gmail.com> - 2013-11-04 01:56 -0800
    Re: install package from github repository Amirouche Boubekki <amirouche.boubekki@gmail.com> - 2013-11-04 11:22 +0100
      Re: install package from github repository "C. Ng" <ngcbmy@gmail.com> - 2013-11-05 23:07 -0800
        Re: install package from github repository Amirouche Boubekki <amirouche.boubekki@gmail.com> - 2013-11-06 15:49 +0100
    Re: install package from github repository Chris Angelico <rosuav@gmail.com> - 2013-11-04 22:44 +1100
      Re: install package from github repository "C. Ng" <ngcbmy@gmail.com> - 2013-11-05 23:05 -0800

#58438 — install package from github repository

From"C. Ng" <ngcbmy@gmail.com>
Date2013-11-04 01:56 -0800
Subjectinstall package from github repository
Message-ID<f32bb389-170e-4be7-980f-3d9b449453d4@googlegroups.com>
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.


[toc] | [next] | [standalone]


#58439

FromAmirouche Boubekki <amirouche.boubekki@gmail.com>
Date2013-11-04 11:22 +0100
Message-ID<mailman.2015.1383560597.18130.python-list@python.org>
In reply to#58438

[Multipart message — attachments visible in raw view] — view raw

create a setup.py and install it


2013/11/4 C. Ng <ngcbmy@gmail.com>

> 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.
>
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>

[toc] | [prev] | [next] | [standalone]


#58552

From"C. Ng" <ngcbmy@gmail.com>
Date2013-11-05 23:07 -0800
Message-ID<0b25e2d9-396b-430f-b884-a57a7809f643@googlegroups.com>
In reply to#58439
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.

[toc] | [prev] | [next] | [standalone]


#58562

FromAmirouche Boubekki <amirouche.boubekki@gmail.com>
Date2013-11-06 15:49 +0100
Message-ID<mailman.2080.1383749401.18130.python-list@python.org>
In reply to#58552

[Multipart message — attachments visible in raw view] — view raw

2013/11/6 C. Ng <ngcbmy@gmail.com>

> 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 :-)

[toc] | [prev] | [next] | [standalone]


#58441

FromChris Angelico <rosuav@gmail.com>
Date2013-11-04 22:44 +1100
Message-ID<mailman.2020.1383565467.18130.python-list@python.org>
In reply to#58438
On Mon, Nov 4, 2013 at 8:56 PM, C. Ng <ngcbmy@gmail.com> wrote:
> 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

[toc] | [prev] | [next] | [standalone]


#58551

From"C. Ng" <ngcbmy@gmail.com>
Date2013-11-05 23:05 -0800
Message-ID<b154c6c3-208f-4da3-990a-964c84e90de4@googlegroups.com>
In reply to#58441
nope there is no installation instructions

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web