Feb-04-2019, 07:57 PM
(This post was last modified: Feb-04-2019, 07:57 PM by ChrisOfBristol.)
I have created a test application which uses 'pillow'. I inserted a line in install.py:
install_requires=['pillow']I then ran the following commands create the distribution and install it, they both worked:
python setup.py sdist pip3 install dist/*.tar.gzI now want to take another step and include 'hugin-tools', so I added it to install.py as above, and also put 'hugin-tools' in requirements.txt. I then ran the commands to create the distribution and install it, and the creation runs, but the installation errors:
Output:chris@desktop:~/Snaps/cob$ pip3 install dist/*.tar.gz
Processing ./dist/cob-0.tar.gz
Collecting pillow (from cob==0)
Using cached https://files.pythonhosted.org/packages/85/5e/e91792f198bbc5a0d7d3055ad552bc4062942d27eaf75c3e2783cf64eae5/Pillow-5.4.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting hugin-tools (from cob==0)
Could not find a version that satisfies the requirement hugin-tools (from cob==0) (from versions: )
No matching distribution found for hugin-tools (from cob==0)
chris@desktop:~/Snaps/cob$
Clearly it can't find hugin-tools, how should I correctly indicate to pip3 where to find it?