Giter Club home page Giter Club logo

Comments (2)

dragon788 avatar dragon788 commented on August 11, 2024

The issue is that the package's setup.py explicitly includes the requirement for sh. You can clone this git repo, edit the setup.py to remove the requirement for sh and then install from the locally cloned version using pip install path/to/clone and then utilize the library however you wish.

Another option is pip install --no-deps bitbucket-api ; pip install requests requests_oauthlib This will get all the pieces that are required without sh failing the install of bitbucket-api on Windows.

As the warning says you could potentially use pbs in place of sh, but so far I haven't found the code where this requirement is actually utilized. I ran all the tests in the public folder after doing the above without any errors. I'm going to be building a utility that uses this library though, so I'll update this as I come across any failure instances and see if it's possible to "downgrade" the requirement to pbr if it isn't using some fancy functions only available in sh.

from bitbucket-api.

guyzmo avatar guyzmo commented on August 11, 2024

I'm having a dependency on Bitbucket-api, and just had someone complaining about the impossibility for him to install my tool on windows, because of the sh dependency.

As I said on guyzmo/git-repo#37, this issue shouldn't happen, as sh is only used for tests on the repository.

The solution lies in a few lines of code, simply removing the dependency for installation in both setup.py and requirements.txt.

from bitbucket-api.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.