[08:44:52] <douglaswinship> anyways, now that I know i'm in the right place, I wanted to ask about virtual environments.
[08:45:36] <douglaswinship> I've only just started using scancode, and i was looking at the install instructions. They seemed to be keen on having scancode installed in a venv virtual environment.
[08:46:02] <douglaswinship> Not that there's anything wrong with venvs, but I was just wondering why that was necessary / if there would be any problems with installing it outside of one.
[08:49:33] <pombreda> douglaswinship: you can install scancode outside of a virtualenv alright
[08:50:13] <pombreda> there are a few ways to install and we have specific version dependencies on third-parties ... so the gist:
[08:51:09] <pombreda> 1. install from PyPI with: this will use a fairly lax set of thirdparty versions constraints (and there are a few bugs that are being fixed as we speak)
[08:52:12] <pombreda> 2. install from a clone: the preferred way is to run ./configure that will a) create a venv b) install bundled dependencies of precise versions that have been heavily tested ... all that ensure that we have a consistent development envt.
[08:52:56] <pombreda> 3. install from a release archive: the way is to run ./scancode and/or run ./configure that will a) create a venv b) install bundled dependencies of precise versions that have been heavily tested ... all that ensure that we have a consistent production envt.
[08:55:43] <pombreda> douglaswinship: you could use the bundled thirdparty in 2. and 3. outside of a venv if you know how to instruct pip to use them with "--no-index --no-cache-dir --find-links=thirdparty --find-links=thirdparty/dev"
[08:59:24] <pombreda> > you could use the bundled thirdparty in 2. and 3. outside of a venv if you know how to instruct pip to use them with "--no-index --no-cache-dir --find-links=thirdparty --find-links=thirdparty/dev"
[08:59:24] <pombreda> this would mean using a clone or archive running this inside the root project dir: "pip install . --no-index --no-cache-dir --find-links=thirdparty --find-links=thirdparty/dev"
[11:18:20] <pombreda> douglaswinship: tell me if there is anything you need help with :)
[11:32:10] <douglaswinship> thanks, no further help needed :)