[Distutils] package made up of only .so's?
Daniel Holth
dholth at gmail.com
Thu Jul 7 07:36:53 EDT 2016
Please install directly from the repository for now.
On Thu, Jul 7, 2016, 07:13 Chris Withers <chris at simplistix.co.uk> wrote:
> The release version on pypi doesn't seem to work...
>
> (Appears to be missing setup2toml and doesn't sepcify pytoml as a
> dependency).
>
> What's the current recommended way to install enscons?
>
> Chris
>
> On 04/07/2016 17:27, Daniel Holth wrote:
>
> Try my new project, enscons. https://bitbucket.org/dholth/enscons . You
> can just wheel up whatever you want, without bothering with all this
> setup.py nonsense. Put your metadata in pyproject.toml, enscons' setup2toml
> script might help you generate that from setup.py. It might look something
> like this:
>
> import pytoml as tomlimport enscons
> metadata = dict(toml.load(open('pyproject.toml')))['tool']['enscons']
> # most specific binary, non-manylinux1 tag should be at the top of this listif True:
> import wheel.pep425tags
> for tag in wheel.pep425tags.get_supported():
> full_tag = '-'.join(tag)
> if not 'manylinux' in tag:
> breakenv = Environment(tools=['default', 'packaging', enscons.generate],
> PACKAGE_METADATA=metadata,
> WHEEL_TAG=full_tag,
> ROOT_IS_PURELIB=False)
> sources = Glob('*.so')env.Whl('platlib', sources, root='.')
>
>
> On Mon, Jul 4, 2016 at 12:07 PM Chris Withers <chris at simplistix.co.uk>
> wrote:
>
>> Hi All,
>>
>> I need to build a package which is made up of a set of .so's.
>>
>> These .so's are compiled elsewhere, so I just need to write an
>> appropriate setup.py and bdist_wheel to get what I want. But that first
>> part is where I'm struggling.
>>
>> Each of these .so's is essentially a top level python module. How do I
>> tell setuptools' setup() function to basically just roll these into a
>> wheel?
>>
>> Any help gratefully received!
>>
>>
>> Chris
>>
>> _______________________________________________
>> Distutils-SIG maillist - Distutils-SIG at python.org
>> https://mail.python.org/mailman/listinfo/distutils-sig
>>
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20160707/419a53ea/attachment-0001.html>
More information about the Distutils-SIG
mailing list