netflow-indexer
netflow-indexer copied to clipboard
Binaries not being installed by pip install
First of all, the pip install command you list in the documentation,
pip install -s -E /usr/local/python_env/ netflowindexer-0.1.9.tar.gz
Doesn't seem to work. My pip install doesn't recognize -s or -E as valid options. I want to install in a specific path (I'm trying to build an RPM package), so I run it as:
pip install -vvv -t /path/to/install --no-deps netflow-indexer-0.1.38.tar.gz
The netflowindexer-0.1.38-py2.7.egg-info and netflowindexer directories get installed correctly, but no bin directory or any contents. I put the full output of pip_install in a gist:
https://gist.github.com/elliotkendall/54f70379eb0414c84129
This is on RHEL7 x86_64 with python 2.7.5 and python-pip 7.1.0 installed from EPEL. Any ideas?
Fun.. This is why I am trying to port it to go :-)
I'm not really sure what is going on here.. it looks like pip removed the -E option and the -t option doesn't actually work.
I just started up a centos7 container and it installed things just fine
In the past I have used fpm to build packages for it using 'fpm -s python -t rpm...'. That method works pretty well.
'python setup.py bdist_rpm' might be worth a try too. or at least '> python setup.py bdist_rpm --spec-only'
Thanks for the feedback! "python setup.py bdist_rpm --spec-only" worked great. So my problem is fixed, although you probably still ought to fix the documentation so that it doesn't mention obsolete pip options.