Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invenio-initialise-virtualenv: new behaviour #35

Merged
merged 1 commit into from Mar 25, 2015

Conversation

tiborsimko
Copy link
Owner

  • Amends behaviour so that git-new-workdir is used in virtual
    environments. Notably the Invenio sources for each virtual
    environment are living under cdvirtualenv src/invenio.
  • Amends behaviour so that Invenio runs under current user identity in
    virtual environments, not as www-data anymore.
  • Removes unnecessary virtual environment argument name to
    invenio-initialise-virtualenv; now the script simply initialises the
    current virtual environment.
  • Installs Python dependencies with pip without using system packages,
    achieving clearer separation of working environments.
  • On Debian Jessie, one needs to specify HDF5_DIR when calling pip install h5py, otherwise traceback occurs. An extra step is added to
    make it happen.
  • Removes /opt/invenio system wide symlink; now the environments are
    installed into their own prefix spaces and the active one is switched
    by only Apache vhost switching.
  • Amends documentation with respect to the new behaviour.

Signed-off-by: Tibor Simko tibor.simko@cern.ch

* Amends behaviour so that `git-new-workdir` is used in virtual
  environments.  Notably the Invenio sources for each virtual
  environment are living under `cdvirtualenv src/invenio`.

* Amends behaviour so that Invenio runs under current user identity in
  virtual environments, not as `www-data` anymore.

* Removes unnecessary virtual environment argument name to
  `invenio-initialise-virtualenv`; now the script simply initialises the
  current virtual environment.

* Installs Python dependencies with `pip` without using system packages,
  achieving clearer separation of working environments.

* On Debian Jessie, one needs to specify `HDF5_DIR` when calling `pip
  install h5py`, otherwise traceback occurs.  An extra step is added to
  make it happen.

* Removes `/opt/invenio` system wide symlink; now the environments are
  installed into their own prefix spaces and the active one is switched
  by only Apache vhost switching.

* Amends documentation with respect to the new behaviour.

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
@tiborsimko tiborsimko merged commit 84fe4d1 into master Mar 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant