Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44838 > unrolled thread
| Started by | Eric Frederich <eric.frederich@gmail.com> |
|---|---|
| First post | 2013-05-06 14:11 -0400 |
| Last post | 2013-05-07 17:58 -0700 |
| Articles | 4 — 2 participants |
Back to article view | Back to comp.lang.python
distributing a binary package Eric Frederich <eric.frederich@gmail.com> - 2013-05-06 14:11 -0400
Re: distributing a binary package Miki Tebeka <miki.tebeka@gmail.com> - 2013-05-06 18:13 -0700
Re: distributing a binary package Eric Frederich <eric.frederich@gmail.com> - 2013-05-07 09:48 -0400
Re: distributing a binary package Miki Tebeka <miki.tebeka@gmail.com> - 2013-05-07 17:58 -0700
| From | Eric Frederich <eric.frederich@gmail.com> |
|---|---|
| Date | 2013-05-06 14:11 -0400 |
| Subject | distributing a binary package |
| Message-ID | <mailman.1368.1367863915.3114.python-list@python.org> |
Hello, Hopefully a simple question. Basically, I'd like to know how to create a proper setup.py script to install a package. The package exists as a single directory with a single __init__.py file and (currently) 93 .so files. Right now I just copy it into the site-packages directory but I'd like to start using virtualenv / pip so I'd like to do the installation via "python setup.py install". I need to keep my build process external to this for performance reasons (with a Makefile I can do parallel builds and I have a machine with 12 cores). My Makefile does all the work. It produces a directory that simply needs to be copied to site-packages.... but how do I craft a setup.py script to do the actually installation? Thanks, ~Eric
[toc] | [next] | [standalone]
| From | Miki Tebeka <miki.tebeka@gmail.com> |
|---|---|
| Date | 2013-05-06 18:13 -0700 |
| Message-ID | <fdc71561-c13d-4632-a720-b4d95c15918e@googlegroups.com> |
| In reply to | #44838 |
> Basically, I'd like to know how to create a proper setup.py script http://docs.python.org/2/distutils/setupscript.html
[toc] | [prev] | [next] | [standalone]
| From | Eric Frederich <eric.frederich@gmail.com> |
|---|---|
| Date | 2013-05-07 09:48 -0400 |
| Message-ID | <mailman.1411.1367934880.3114.python-list@python.org> |
| In reply to | #44868 |
I see where I can specify a module that distutils will try to compile. I already have the .so files compiled. I'm sure its simple, I just can't find it or don't know what to look for. On Mon, May 6, 2013 at 9:13 PM, Miki Tebeka <miki.tebeka@gmail.com> wrote: > >> Basically, I'd like to know how to create a proper setup.py script > http://docs.python.org/2/distutils/setupscript.html > -- > http://mail.python.org/mailman/listinfo/python-list
[toc] | [prev] | [next] | [standalone]
| From | Miki Tebeka <miki.tebeka@gmail.com> |
|---|---|
| Date | 2013-05-07 17:58 -0700 |
| Message-ID | <b0fb8305-f063-4c7e-b2c1-7abd9fb6edb2@googlegroups.com> |
| In reply to | #44892 |
> I already have the .so files compiled. http://docs.python.org/2/distutils/setupscript.html#installing-package-data ?
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web