[Scons-dev] Using scons as setup.py

2016-06-04 Thread Daniel Holth
Had to find/replace __slots__ to __slats__ to get it to run in pypy. How badly do you need slots? Daniel Holth ___ Scons-dev mailing list Scons-dev@scons.org https://pairlist2.pair.net/mailman/listinfo/scons-dev

Re: [Scons-dev] Using scons as setup.py

2016-06-04 Thread Daniel Holth
with slots. > You might ask in users mailing list > > -Bill > > On Sat, Jun 4, 2016 at 7:46 AM, Daniel Holth wrote: > >> I am working on doing some experiments using scons as the setup.py >> implementation. I want to be able to package wheel files more flexibly than >

Re: [Scons-dev] python3-port branch merged to default and then closed

2016-06-09 Thread Daniel Holth
You have a string regex trying to match bytes. On Thu, Jun 9, 2016, 14:40 Tim Jenness wrote: > On Jun 7, 2016, at 04:46 , Russel Winder wrote: > > On Mon, 2016-06-06 at 15:59 -0700, Tim Jenness wrote: > > […] > > Russell — I’m taking a look again at python3 scons. Am I now meant to > be lookin

Re: [Scons-dev] Hummm…

2016-06-11 Thread Daniel Holth
Yes you should be able to convert just fine with any of a variety of methods. For example just the hg import [patches] command or more complicated http://hg-git.github.io On Sat, Jun 11, 2016, 11:43 Tim Jenness wrote: > > I agree. I don’t want to upset the apple cart and I’m definitely not > try

[Scons-dev] success with Tim's Python 3 branch

2016-06-16 Thread Daniel Holth
Thanks Tim for the Python 3 branch. I was able to run 'bootstrap.py local-zip' and compile a few CPython extensions without problems. ___ Scons-dev mailing list Scons-dev@scons.org https://pairlist2.pair.net/mailman/listinfo/scons-dev

[Scons-dev] posix_spawn

2016-06-19 Thread Daniel Holth
I found this lovely cffi implementation of posix_spawn https://github.com/projectcalico/python-posix-spawn . Since subprocess.Popen() is too slow on PyPy, this gives a welcome speedup, but it would probably help on CPython as well. However the file redirection is probably not correct. in posix.py:

Re: [Scons-dev] posix_spawn

2016-06-20 Thread Daniel Holth
gt; We found the posix_spawn was the better default, as cloning the process > space for a build system ( as well as testing systems) was a speed issue. > > > > > > Jason > > > > *From:* Scons-dev [mailto:scons-dev-boun...@scons.org] *On Behalf Of *Daniel > Holth &g

Re: [Scons-dev] Fwd: [Distutils] enscons, a prototype SCons-powered wheel & sdist builder

2016-06-30 Thread Daniel Holth
ught it might be of interest to the community. > > -Bill > Co-Manager SCons Project > -- Forwarded message -- > From: Daniel Holth > Date: Sun, Jun 26, 2016 at 1:45 PM > Subject: [Distutils] enscons, a prototype SCons-powered wheel & sdist > builder &

Re: [Scons-dev] Fwd: [Distutils] enscons, a prototype SCons-powered wheel & sdist builder

2016-06-30 Thread Daniel Holth
Jonathon, Grab the development enscons from https://bitbucket.org/dholth/enscons . Run the setup2toml script to pull your setup.py arguments into an appropriate toml. Try it out. Then let me know what worked and what didn't work. Thanks, Daniel On Thu, Jun 30, 2016 at 10:07 AM Daniel

Re: [Scons-dev] bitbucket login

2016-07-06 Thread Daniel Holth
Slightly inconvenient but a password reset solved it. On Wed, Jul 6, 2016, 23:57 Bill Deegan wrote: > no problem here. > -Bill > > On Wed, Jul 6, 2016 at 1:25 PM, William Blevins > wrote: > >> Lovely... >> >> Thanks, >> William >> >> On Wed, Jul 6, 2016 at 4:37 PM, Jason Kenny wrote: >> >>> I

Re: [Scons-dev] Odd sconsdb related test failure

2016-09-19 Thread Daniel Holth
Is the requested pickle protocol something other than an int here? Del can call sync. Just regular python 2.7? https://bitbucket.org/scons/scons/pull-requests/348/centralize-the-preferred-pickle-protocol/diff#Lsrc/engine/SCons/dblite.pyT124 On Sat, Sep 17, 2016, 22:58 William Blevins wrote: > No

Re: [Scons-dev] Odd sconsdb related test failure

2016-09-19 Thread Daniel Holth
so. > > V/R, > William > > On Mon, Sep 19, 2016 at 6:38 PM, Daniel Holth wrote: > >> Is the requested pickle protocol something other than an int here? Del >> can call sync. Just regular python 2.7? >> https://bitbucket.org/scons/scons/pull-requests/348/centr

Re: [Scons-dev] status of pip install scons

2016-11-30 Thread Daniel Holth
My project is still https://pypi.python.org/pypi/import-scons packaged with https://bitbucket.org/dholth/scons-wheel/src , no progress has been made lately. To build, SCons' own built .py files need to be put into subdirectories of scons-wheel. It uses wheel tags to put different source code in the

[Scons-dev] method for calling SCons as a library?

2017-06-29 Thread Daniel Holth
My SCons-powerd Python packaging tool needs to report the name of the file it built from an API. Here's the method I've come up with. Is there a better way to figure out what was actually built? 0. Update sys.argv[] to pass desired arguments to SCons 1. Call SCons.Script.Main.main() 2. Catch Syste

Re: [Scons-dev] Python 2 and Python 3 on same project

2017-07-13 Thread Daniel Holth
Would it make more sense to present a warning and then replace the .dblite file? On Thu, Jul 13, 2017 at 2:09 PM Bill Deegan wrote: > dblite.py line 43. > > If you uncomment that and then run the tests py2 and py3 some will break > because they are looking for the file name without the .py3 ext

Re: [Scons-dev] Python 2 and Python 3 on same project

2017-07-13 Thread Daniel Holth
u, Jul 13, 2017 at 3:24 PM, Daniel Holth wrote: > >> Would it make more sense to present a warning and then replace the >> .dblite file? >> >> On Thu, Jul 13, 2017 at 2:09 PM Bill Deegan >> wrote: >> >>> dblite.py line 43. >>> >>> I

Re: [Scons-dev] SCons performance investigations

2017-07-21 Thread Daniel Holth
At least in pypy a json sconsign would be quite fast compared to pickle. On Fri, Jul 21, 2017, 11:39 Andrew C. Morrow wrote: > > Hi scons-dev - > > The following is a revised draft of an email that I had originally > intended to send as a follow up to > https://pairlist4.pair.net/pipermail/scons

Re: [Scons-dev] Hashes

2017-10-26 Thread Daniel Holth
blake2 is supposed to be very fast, faster than md5. It would probably break the 'scons uses stdlib only' rule though. https://blake2.net/ I assume to break scons you would have to update the same filename with its md5 collision [while keeping the timestamps the same]? People have tried to put sh

[Scons-dev] Customize packaging tool

2019-05-25 Thread Daniel Holth
I've made a few improvements to the enscons setup.py replacement recently. It uses standard scons now instead of a repackaged version. It uses scons' packaging tool to build sdists. I'd like to be able to add a format to the packaging tool at runtime (cleanly) and to be able to change its build dir

Re: [Scons-dev] Customize packaging tool

2019-05-25 Thread Daniel Holth
05:30 Daniel Holth wrote: > I've made a few improvements to the enscons setup.py replacement recently. > It uses standard scons now instead of a repackaged version. It uses scons' > packaging tool to build sdists. > I'd like to be able to add a format to the packaging to