|
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 toml
import enscons
metadata = dict(toml.load(open('pyproject.toml')))['tool']['enscons']
# most specific binary, non-manylinux1 tag should be at the top of this list
if True:
import wheel.pep425tags
for tag in wheel.pep425tags.get_supported():
full_tag = '-'.join(tag)
if not 'manylinux' in tag:
break
env = 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='.')
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 - [email protected]
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
______________________________________________________________________
|
_______________________________________________
Distutils-SIG maillist - [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig