Closed
Bug 1478341
Opened 7 years ago
Closed 7 years ago
lando-api setup.py does not list any requirements
Categories
(Conduit :: Lando, enhancement)
Conduit
Lando
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: gabriel-v, Unassigned)
Details
(Keywords: conduit-triaged)
I'm trying to use the lando-api library for its landoapi.phabricator.PhabricatorClient class.
The lando-api setup.py file lists empty dependency lists.
This means installing the lando-api library with 'pip install' or 'python setup.py' fails, as no dependencies are listed.
Comment 1•7 years ago
|
||
(In reply to Tudor-Gabriel Vijiala [:tvijiala] from comment #0)
> I'm trying to use the lando-api library for its
> landoapi.phabricator.PhabricatorClient class.
>
> The lando-api setup.py file lists empty dependency lists.
>
> This means installing the lando-api library with 'pip install' or 'python
> setup.py' fails, as no dependencies are listed.
lando-api isn't a library, it's a web application meant to be distributed as a docker image (The dependencies are specific in a requirements file[1]). I could see us maybe rolling the Phabricator client out into its own pip installable library, but it's not a priority for us at this time.
For now I'd recommend just copying phabricator.py verbatim to your project, with the only dependency being `requests`.
[1] https://github.com/mozilla-conduit/lando-api/blob/24630710b3585fd8318264e60f16c396253aaeb8/requirements/base.txt
You need to log in
before you can comment on or make changes to this bug.
Description
•