Skip to content

PyPI package does not install dependencies #129

@mrakitin

Description

@mrakitin

It looks like the package published at PyPI (https://pypi.org/project/apstools/) does not install the dependencies (databroker, etc.). The reason is an empty install_requires field in

install_requires = package.__install_requires__,
caused by this block of code
__install_requires__ = ('databroker', 'pandas', 'xlrd')
__install_requires__ = () # TODO: for conda build now

As far as I understand from the comment there, the conda recipe tries to install the deps from PyPI. To avoid this, change this line

script: python setup.py install
to something like

 script: python setup.py install --single-version-externally-managed --record=record.txt

(like in bluesky's recipe) or even to the conda-forge recommended way http://conda-forge.org/docs/maintainer/adding_pkgs.html#use-pip.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions