Comments (2)
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.
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)
- Support of PullRequests? HOT 2
- Get private repositories for team HOT 4
- Images corrupted after downloading and extracting an archive
- Create issue in team repository HOT 1
- Transfer maintenance of the library HOT 2
- How to Perceptive Bitbucket Pull Request update timing on Bitbucket-api?
- Create documentation HOT 4
- Signing in via email causes problems with repository.get() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitbucket-api.