fair-research / bdbag

Big Data Bag Utilities
https://fair-research.org
Apache License 2.0
49 stars 23 forks source link

Installation via pip ? #8

Closed tseemann closed 6 years ago

tseemann commented 8 years ago

It would be helpful for packaging if you could support pip:

pip install https://github.com/ini-bdds/bdbag
mikedarcy commented 7 years ago

Will look into this. Thanks!

mikedarcy commented 7 years ago

We have some custom dependencies that aren't on PyPi which is why the basic pip install command doesn't work.

However, I was able to get it working using the following command:

sudo pip install --process-dependency-links --trusted-host github.com http://github.com/ini-bdds/bdbag/archive/master.zip

Let me know if it works for you and if so I will update the README.md and close this out.

stain commented 6 years ago

See #10 which would simplify pip release - perhaps we can also get the bagit-profiles-validator released officially for pip?

stain commented 6 years ago

There is also a newer bagit_profile=1.1.1 (note the underscore) - but I only had a quick try with it - something in how bdbag call it is broken as some of the tests fail. So perhaps need to update those calls.

mikedarcy commented 6 years ago

The changes in PR https://github.com/ini-bdds/bdbag/pull/13 should take care of this.

stain commented 6 years ago

13 works great, tested with a fresh virtualenv!

Would you be able to merge this and perhaps roll a release towards pypi? We would like to use this from commonworkflowlanguage/cwltool

mikedarcy commented 6 years ago

Working on it now. Will update bagit dependency to latest 1.6.2 and get pypi going.

mikedarcy commented 6 years ago

Release 1.1.1 has been tagged and uploaded to PyPi.

One can now pip install bdbag.