Uploaded image for project: 'Nuxeo Python Client'
  1. Nuxeo Python Client
  2. NXPY-64

Distribute a wheel on PyPi

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: None
    • Tags:
    • Sprint:
      nxDrive 10.2.8
    • Story Points:
      1

      Description

      To ease installation everywhere, generate a wheel for PyPi.

      Also fix this error:

      pip install nuxeo
      Collecting nuxeo
        Using cached https://files.pythonhosted.org/packages/b3/c9/.../nuxeo-2.0.1.tar.gz
      Collecting requests>=2.12.2 (from nuxeo)
        Using cached https://files.pythonhosted.org/packages/65/47/.../requests-2.19.1-py2.py3-none-any.whl
      Collecting idna<2.8,>=2.5 (from requests>=2.12.2->nuxeo)
        Using cached https://files.pythonhosted.org/packages/4b/2a/.../idna-2.7-py2.py3-none-any.whl
      Collecting urllib3<1.24,>=1.21.1 (from requests>=2.12.2->nuxeo)
        Using cached https://files.pythonhosted.org/packages/bd/c9/.../urllib3-1.23-py2.py3-none-any.whl
      Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.12.2->nuxeo)
        Using cached https://files.pythonhosted.org/packages/bc/a9/.../chardet-3.0.4-py2.py3-none-any.whl
      Collecting certifi>=2017.4.17 (from requests>=2.12.2->nuxeo)
        Using cached https://files.pythonhosted.org/packages/7c/e6/.../certifi-2018.4.16-py2.py3-none-any.whl
      Building wheels for collected packages: nuxeo
        Running setup.py bdist_wheel for nuxeo ... error
        Complete output from command /home/tiger-222/v/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-y1auva/nuxeo/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-tcfZT0 --python-tag cp27:
        running bdist_wheel
        running build
        running build_py
        creating build
        creating build/lib.linux-x86_64-2.7
        creating build/lib.linux-x86_64-2.7/nuxeo
        copying nuxeo/client.py -> build/lib.linux-x86_64-2.7/nuxeo
        copying nuxeo/tasks.py -> build/lib.linux-x86_64-2.7/nuxeo
        copying nuxeo/uploads.py -> build/lib.linux-x86_64-2.7/nuxeo
        copying nuxeo/utils.py -> build/lib.linux-x86_64-2.7/nuxeo
        copying nuxeo/users.py -> build/lib.linux-x86_64-2.7/nuxeo
        copying nuxeo/__init__.py -> build/lib.linux-x86_64-2.7/nuxeo
        copying nuxeo/groups.py -> build/lib.linux-x86_64-2.7/nuxeo
        copying nuxeo/workflows.py -> build/lib.linux-x86_64-2.7/nuxeo
        copying nuxeo/auth.py -> build/lib.linux-x86_64-2.7/nuxeo
        copying nuxeo/constants.py -> build/lib.linux-x86_64-2.7/nuxeo
        copying nuxeo/directories.py -> build/lib.linux-x86_64-2.7/nuxeo
        copying nuxeo/exceptions.py -> build/lib.linux-x86_64-2.7/nuxeo
        copying nuxeo/operations.py -> build/lib.linux-x86_64-2.7/nuxeo
        copying nuxeo/models.py -> build/lib.linux-x86_64-2.7/nuxeo
        copying nuxeo/compat.py -> build/lib.linux-x86_64-2.7/nuxeo
        copying nuxeo/endpoint.py -> build/lib.linux-x86_64-2.7/nuxeo
        copying nuxeo/documents.py -> build/lib.linux-x86_64-2.7/nuxeo
        running egg_info
        writing requirements to nuxeo.egg-info/requires.txt
        writing nuxeo.egg-info/PKG-INFO
        writing top-level names to nuxeo.egg-info/top_level.txt
        writing dependency_links to nuxeo.egg-info/dependency_links.txt
        reading manifest file 'nuxeo.egg-info/SOURCES.txt'
        writing manifest file 'nuxeo.egg-info/SOURCES.txt'
        installing to build/bdist.linux-x86_64/wheel
        running install
        running install_lib
        creating build/bdist.linux-x86_64
        creating build/bdist.linux-x86_64/wheel
        creating build/bdist.linux-x86_64/wheel/nuxeo
        copying build/lib.linux-x86_64-2.7/nuxeo/client.py -> build/bdist.linux-x86_64/wheel/nuxeo
        copying build/lib.linux-x86_64-2.7/nuxeo/tasks.py -> build/bdist.linux-x86_64/wheel/nuxeo
        copying build/lib.linux-x86_64-2.7/nuxeo/uploads.py -> build/bdist.linux-x86_64/wheel/nuxeo
        copying build/lib.linux-x86_64-2.7/nuxeo/utils.py -> build/bdist.linux-x86_64/wheel/nuxeo
        copying build/lib.linux-x86_64-2.7/nuxeo/users.py -> build/bdist.linux-x86_64/wheel/nuxeo
        copying build/lib.linux-x86_64-2.7/nuxeo/__init__.py -> build/bdist.linux-x86_64/wheel/nuxeo
        copying build/lib.linux-x86_64-2.7/nuxeo/groups.py -> build/bdist.linux-x86_64/wheel/nuxeo
        copying build/lib.linux-x86_64-2.7/nuxeo/workflows.py -> build/bdist.linux-x86_64/wheel/nuxeo
        copying build/lib.linux-x86_64-2.7/nuxeo/auth.py -> build/bdist.linux-x86_64/wheel/nuxeo
        copying build/lib.linux-x86_64-2.7/nuxeo/constants.py -> build/bdist.linux-x86_64/wheel/nuxeo
        copying build/lib.linux-x86_64-2.7/nuxeo/directories.py -> build/bdist.linux-x86_64/wheel/nuxeo
        copying build/lib.linux-x86_64-2.7/nuxeo/exceptions.py -> build/bdist.linux-x86_64/wheel/nuxeo
        copying build/lib.linux-x86_64-2.7/nuxeo/operations.py -> build/bdist.linux-x86_64/wheel/nuxeo
        copying build/lib.linux-x86_64-2.7/nuxeo/models.py -> build/bdist.linux-x86_64/wheel/nuxeo
        copying build/lib.linux-x86_64-2.7/nuxeo/compat.py -> build/bdist.linux-x86_64/wheel/nuxeo
        copying build/lib.linux-x86_64-2.7/nuxeo/endpoint.py -> build/bdist.linux-x86_64/wheel/nuxeo
        copying build/lib.linux-x86_64-2.7/nuxeo/documents.py -> build/bdist.linux-x86_64/wheel/nuxeo
        running install_egg_info
        Copying nuxeo.egg-info to build/bdist.linux-x86_64/wheel/nuxeo-2.0.1-py2.7.egg-info
        running install_scripts
        error: [Errno 2] No such file or directory: 'LICENSE.txt'
        
        ----------------------------------------
        Failed building wheel for nuxeo
        Running setup.py clean for nuxeo
      Failed to build nuxeo
      Installing collected packages: idna, urllib3, chardet, certifi, requests, nuxeo
        Running setup.py install for nuxeo ... done
      Successfully installed certifi-2018.4.16 chardet-3.0.4 idna-2.7 nuxeo-2.0.1 requests-2.19.1 urllib3-1.23
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m