Closed copyninja closed 6 years ago
I will reopen the PR once I fix travis error.
@vu3rdd I would be happy if you can have a look at the changes and provide some feedback.
Hey, this is a great direction to go. Could you try to address a few problems?:
setup.py --version
: it should be 1.4.24-something, but it comes out as 0.0.1-something). We were using Versioneer before, which looked for a git tag with a zfec-
prefix, and I'm guessing PBR can't handle tags with prefixes. Is there any way we can keep using Versioneer?tox
". I think this will still accomplish that, but could you change the .travis.yml
to use tox too? In particular I'd like to see that pip install -r requirements.txt
removed from .travis.yml, if that's not what we'd advise devs to use. Tox should install the deps itself (or, rather, tox should pip install -e .
, and pip should get the deps, via install_requires=
)setup.py
appears to modify ./changelog
, which isn't a great thing for a build step to do. I think it also created an AUTHORS
file which wasn't there before..eggs/
directory needs to be added to .gitignore
, if it's going to be populated through the setup_requires=
thanks!
@warner Thanks for the review and support in IRC :-). I've done all the changes you asked for. Please let me know if you think some more changes needed for the same. And yeah sorry about the silly typo's which you had to fix :-).
No worries :)
In tox.ini, I notices that you're using deps = --editable=.
, which seems like a bit of a hack. Doesn't Tox have some easier way to express that, like develop = true
or something?
Not very familiar with tox. I'll have a look at docs and update it. But I guess I copied it from Tahoe tox.ini
On 17-Jul-2017 6:40 AM, "Brian Warner" notifications@github.com wrote:
No worries :)
In tox.ini, I notices that you're using
`deps = --editable=., which seems like a bit of a hack. Doesn't Tox have some easier way to express that, likedevelop = true
or something?— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/tahoe-lafs/zfec/pull/5#issuecomment-315651849, or mute the thread https://github.com/notifications/unsubscribe-auth/AAL7gEgyIrrF9vMTYO05MXYk_Auk4S9Iks5sOrSHgaJpZM4NcZat .
@warner I removed deps
and added usedevelop
and it does the same as previous deps=--editable=.
. Let me know if anything else needs to be tuned.
I've rebased this to current master (the recent py3 support caused quite a few conflicts), and squashed it to a single commit (to make the merge easier). I'll land this new branch momentarily. Thanks!
Use pbr (Python build reasonableness) for managing the setuptools packaging. I've mimicked most functionality in existing setup.py except the extra_requires. extra_requires points to a hash which I'm not clear is really used or just a left over.
I would be happy to get a review on my changes.