How to install trytond-product_manufacturer in docker site

I am using a recent Tryton docker image, and have activated modules Product, Production, Stock and Purchase (and of course their dependencies), and now wish to install GitHub - NaN-tic/trytond-product_manufacturer . I installed mercurial, and then executed as per the INSTALL file in the module, but seem to be getting a missing repository error. Can anyone help point me in the right direction?

Thanks,
Dale

dale@starlord:~/downloads/trytond-product_manufacturer-master$ sudo python3 setup.py install
setup.py:35: DeprecationWarning: This method will be removed in future versions.  Use 'parser.read_file()' instead.
  config.readfp(open('tryton.cfg'))
running install
running bdist_egg
running egg_info
writing trytonzz_product_manufacturer.egg-info/PKG-INFO
writing dependency_links to trytonzz_product_manufacturer.egg-info/dependency_links.txt
writing entry points to trytonzz_product_manufacturer.egg-info/entry_points.txt
writing requirements to trytonzz_product_manufacturer.egg-info/requires.txt
writing top-level names to trytonzz_product_manufacturer.egg-info/top_level.txt
reading manifest file 'trytonzz_product_manufacturer.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'trytonzz_product_manufacturer.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/trytond
creating build/bdist.linux-x86_64/egg/trytond/modules
creating build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer
creating build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/locale
copying build/lib/trytond/modules/product_manufacturer/locale/fr.po -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/locale
copying build/lib/trytond/modules/product_manufacturer/locale/ca.po -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/locale
copying build/lib/trytond/modules/product_manufacturer/locale/es.po -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/locale
copying build/lib/trytond/modules/product_manufacturer/__init__.py -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer
copying build/lib/trytond/modules/product_manufacturer/purchase.xml -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer
creating build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/tests
copying build/lib/trytond/modules/product_manufacturer/tests/__init__.py -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/tests
copying build/lib/trytond/modules/product_manufacturer/tests/test_product_manufacturer.py -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/tests
copying build/lib/trytond/modules/product_manufacturer/product.py -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer
copying build/lib/trytond/modules/product_manufacturer/sale.py -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer
copying build/lib/trytond/modules/product_manufacturer/tryton.cfg -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer
creating build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/view
copying build/lib/trytond/modules/product_manufacturer/view/move_tree.xml -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/view
copying build/lib/trytond/modules/product_manufacturer/view/template_tree.xml -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/view
copying build/lib/trytond/modules/product_manufacturer/view/template_form.xml -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/view
copying build/lib/trytond/modules/product_manufacturer/view/sale_line_tree_sequence.xml -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/view
copying build/lib/trytond/modules/product_manufacturer/view/purchase_line_tree_sequence.xml -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/view
copying build/lib/trytond/modules/product_manufacturer/view/purchase_line_form.xml -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/view
copying build/lib/trytond/modules/product_manufacturer/view/sale_line_form.xml -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/view
copying build/lib/trytond/modules/product_manufacturer/view/product_form_simple.xml -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/view
copying build/lib/trytond/modules/product_manufacturer/view/product_form.xml -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/view
copying build/lib/trytond/modules/product_manufacturer/view/move_form.xml -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/view
copying build/lib/trytond/modules/product_manufacturer/sale.xml -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer
copying build/lib/trytond/modules/product_manufacturer/product.xml -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer
copying build/lib/trytond/modules/product_manufacturer/move.xml -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer
copying build/lib/trytond/modules/product_manufacturer/purchase.py -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer
copying build/lib/trytond/modules/product_manufacturer/move.py -> build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer
byte-compiling build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/tests/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/tests/test_product_manufacturer.py to test_product_manufacturer.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/product.py to product.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/sale.py to sale.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/purchase.py to purchase.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/trytond/modules/product_manufacturer/move.py to move.cpython-38.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying trytonzz_product_manufacturer.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying trytonzz_product_manufacturer.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying trytonzz_product_manufacturer.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying trytonzz_product_manufacturer.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying trytonzz_product_manufacturer.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying trytonzz_product_manufacturer.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying trytonzz_product_manufacturer.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
creating 'dist/trytonzz_product_manufacturer-6.1.0-py3.8.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing trytonzz_product_manufacturer-6.1.0-py3.8.egg
removing '/usr/local/lib/python3.8/dist-packages/trytonzz_product_manufacturer-6.1.0-py3.8.egg' (and everything under it)
creating /usr/local/lib/python3.8/dist-packages/trytonzz_product_manufacturer-6.1.0-py3.8.egg
Extracting trytonzz_product_manufacturer-6.1.0-py3.8.egg to /usr/local/lib/python3.8/dist-packages
trytonzz-product-manufacturer 6.1.0 is already the active version in easy-install.pth

Installed /usr/local/lib/python3.8/dist-packages/trytonzz_product_manufacturer-6.1.0-py3.8.egg
Processing dependencies for trytonzz-product-manufacturer==6.1.0
Searching for trytond_stock<6.2,>=6.1.dev0
Reading https://trydevpi.tryton.org/
Doing hg clone from https://hg.tryton.org/modules/stock to /tmp/easy_install-1nlo5r34/stock@default
Updating to default
Best match: trytond-stock 6.1.dev0
Processing stock@default
Writing /tmp/easy_install-1nlo5r34/stock@default/setup.cfg
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-1nlo5r34/stock@default/egg-dist-tmp-5vhv4z7g
creating /usr/local/lib/python3.8/dist-packages/trytond_stock-6.1.dev0-py3.8.egg
Extracting trytond_stock-6.1.dev0-py3.8.egg to /usr/local/lib/python3.8/dist-packages
Adding trytond-stock 6.1.dev0 to easy-install.pth file

Installed /usr/local/lib/python3.8/dist-packages/trytond_stock-6.1.dev0-py3.8.egg
Reading https://trydevpi.tryton.org/?local_version=
Searching for trytond_sale<6.2,>=6.1.dev0
Doing hg clone from https://hg.tryton.org/modules/sale to /tmp/easy_install-1lu1bj2d/sale@default
Updating to default
Best match: trytond-sale 6.1.dev0
Processing sale@default
Writing /tmp/easy_install-1lu1bj2d/sale@default/setup.cfg
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-1lu1bj2d/sale@default/egg-dist-tmp-x478_ffc
creating /usr/local/lib/python3.8/dist-packages/trytond_sale-6.1.dev0-py3.8.egg
Extracting trytond_sale-6.1.dev0-py3.8.egg to /usr/local/lib/python3.8/dist-packages
Adding trytond-sale 6.1.dev0 to easy-install.pth file

Installed /usr/local/lib/python3.8/dist-packages/trytond_sale-6.1.dev0-py3.8.egg
Searching for trytond_purchase<6.2,>=6.1.dev0
Doing hg clone from https://hg.tryton.org/modules/purchase to /tmp/easy_install-l2zc6evt/purchase@default
Updating to default
Best match: trytond-purchase 6.1.dev0
Processing purchase@default
Writing /tmp/easy_install-l2zc6evt/purchase@default/setup.cfg
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-l2zc6evt/purchase@default/egg-dist-tmp-8_nltlm3
creating /usr/local/lib/python3.8/dist-packages/trytond_purchase-6.1.dev0-py3.8.egg
Extracting trytond_purchase-6.1.dev0-py3.8.egg to /usr/local/lib/python3.8/dist-packages
Adding trytond-purchase 6.1.dev0 to easy-install.pth file

Installed /usr/local/lib/python3.8/dist-packages/trytond_purchase-6.1.dev0-py3.8.egg
Searching for trytond_product<6.2,>=6.1.dev0
Doing hg clone from https://hg.tryton.org/modules/product to /tmp/easy_install-ypo1aj9k/product@default
Updating to default
Best match: trytond-product 6.1.dev0
Processing product@default
Writing /tmp/easy_install-ypo1aj9k/product@default/setup.cfg
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-ypo1aj9k/product@default/egg-dist-tmp-11adnkui
creating /usr/local/lib/python3.8/dist-packages/trytond_product-6.1.dev0-py3.8.egg
Extracting trytond_product-6.1.dev0-py3.8.egg to /usr/local/lib/python3.8/dist-packages
Adding trytond-product 6.1.dev0 to easy-install.pth file

Installed /usr/local/lib/python3.8/dist-packages/trytond_product-6.1.dev0-py3.8.egg
Searching for trytond<6.2,>=6.1.dev0
Doing hg clone from https://hg.tryton.org/trytond to /tmp/easy_install-2d8x64zi/trytond@default
Updating to default
Best match: trytond 6.1.dev0
Processing trytond@default
Writing /tmp/easy_install-2d8x64zi/trytond@default/setup.cfg
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-2d8x64zi/trytond@default/egg-dist-tmp-7mhm6rfh
warning: no files found matching '*.po' under directory 'doc'
warning: no files found matching '*.pot' under directory 'doc'
creating /usr/local/lib/python3.8/dist-packages/trytond-6.1.dev0-py3.8.egg
Extracting trytond-6.1.dev0-py3.8.egg to /usr/local/lib/python3.8/dist-packages
Adding trytond 6.1.dev0 to easy-install.pth file
Installing trytond-console script to /usr/local/bin
Installing trytond-admin script to /usr/local/bin
Installing trytond script to /usr/local/bin
Installing trytond-cron script to /usr/local/bin
Installing trytond-worker script to /usr/local/bin
Installing trytond-stat script to /usr/local/bin

Installed /usr/local/lib/python3.8/dist-packages/trytond-6.1.dev0-py3.8.egg
Searching for nantic_party_manufacturer<6.2,>=6.1.dev0
Doing hg clone from https://bitbucket.org/nantic/trytond-party_manufacturer to /tmp/easy_install-h7bhaxok/trytond-party_manufacturer@default
abort: HTTP Error 404: Not Found
Updating to default
abort: No such file or directory: '/tmp/easy_install-h7bhaxok/trytond-party_manufacturer@default'
Reading https://pypi.org/simple/nantic_party_manufacturer/
Reading https://pypi.org/simple/nantic-party-manufacturer/
Couldn't retrieve index page for 'nantic_party_manufacturer'
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
Doing hg clone from https://bitbucket.org/nantic/trytond-party_manufacturer to /tmp/easy_install-h7bhaxok/trytond-party_manufacturer@default
abort: HTTP Error 404: Not Found
Updating to default
abort: No such file or directory: '/tmp/easy_install-h7bhaxok/trytond-party_manufacturer@default'
No local packages or working download links found for nantic_party_manufacturer<6.2,>=6.1.dev0
error: Could not find suitable distribution for Requirement.parse('nantic_party_manufacturer<6.2,>=6.1.dev0')
dale@starlord:~/downloads/trytond-product_manufacturer-master$

The repository contains a version for the development branch which is not compatible with the series 6.0 of the last docker image.
Unfortunately NaN-tic does not publish releases of their module so you can not define precisely to pip what to install. But normally such command should work:

pip install git+https://github.com/NaN-tic/trytond-product_manufacturer.git@6.0#egg=nantic_product_manufacturer-6.0.0

But this will not be enough because the dependencies are not published neither and the dependency_links in setup.py points to a removed bitbucket repository (it should probably point to github).

As a workarroud, normally installing the dependencies manually should allow you to install the module.

It will be great if you can explain the need of such module, so we may try to find a generic solution for your problem.

A post was merged into an existing topic: How to manage one-to-many Mfr/MfrPN to Vendor/VendorPN?