BrianGallew / cassandra_range_repair

python script to repair the primary range of a node in N discrete steps
MIT License
109 stars 47 forks source link

Document in README how to install this #57

Open JensRantil opened 6 years ago

JensRantil commented 6 years ago

Document in README how to install this.

JensRantil commented 6 years ago

Is there a Debian package published somewhere? Or is best-practise to do make deb and host the package yourself? I couldn't find this on PyPi.

JensRantil commented 6 years ago

I continued to investigate this. First I tried building the Debian package on an Ubuntu VM. That didn't work.

Then I noticed the only external library dependency, according to README, is six. And six documentation states

It is contained in only one Python file, so it can be easily copied into your project. (The copyright and license notice must be retained.)

While I haven't tried (yet), in theory installing should be as easy as downloading https://github.com/BrianGallew/cassandra_range_repair/blob/master/src/range_repair.py and https://github.com/benjaminp/six/blob/master/six.py into the same directory and running range_repair.py.