tahoe-lafs / zfec

zfec -- an efficient, portable erasure coding tool
Other
374 stars 44 forks source link

Use pbr for packaging python module and clean up setup.py #5

Closed copyninja closed 6 years ago

copyninja commented 7 years ago

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.

copyninja commented 7 years ago

I will reopen the PR once I fix travis error.

copyninja commented 7 years ago

@vu3rdd I would be happy if you can have a look at the changes and provide some feedback.

warner commented 6 years ago

Hey, this is a great direction to go. Could you try to address a few problems?:

thanks!

copyninja commented 6 years ago

@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 :-).

warner commented 6 years ago

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?

copyninja commented 6 years ago

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 .

copyninja commented 6 years ago

@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.

warner commented 6 years ago

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!