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


Groups > comp.lang.python > #44838

distributing a binary package

Date 2013-05-06 14:11 -0400
Subject distributing a binary package
From Eric Frederich <eric.frederich@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1368.1367863915.3114.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

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

csiph-web