Skip to content

Instantly share code, notes, and snippets.

@igable
Created March 12, 2015 02:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igable/2b085aff107b70dc51eb to your computer and use it in GitHub Desktop.
Save igable/2b085aff107b70dc51eb to your computer and use it in GitHub Desktop.
Building the shoal-agent RPM on CentOS 7 rough notes
# building the pika and netifaces RPM dependencies for shoal-agent on CentOS7
#
# These are rough notes grabbed from my history. You can't just run this.
#
#
# There is a bug in distutils that affects building netifaces. You need to
# patch that first.
#
# https://bugzilla.redhat.com/show_bug.cgi?id=1177613
#
# patch is here:
# https://hg.python.org/cpython/rev/677327810121/
#
#
# netifaces
#
wget https://pypi.python.org/packages/source/n/netifaces/netifaces-0.8.tar.gz
tar xzvf netifaces-0.8.tar.gz
cd netifaces-0.8
python setup.py bdist_rpm
#
# pika
#
wget https://pypi.python.org/packages/source/p/pika/pika-0.9.14.tar.gz
tar xzvf pika-0.9.14.tar.gz
cd pika-0.9.14
python setup.py bdist_rpm
#
#
# shoal-agent
#
git clone https://github.com/hep-gc/shoal.git
cd shoal/shoal-agent
python setup.py bdist_rpm --requires=" netifaces >= 0.8,pika >= 0.9.9"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment