Git Product home page Git Product logo

birdhousebuilder.bootstrap's People

Contributors

cehbrecht avatar fklemme avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

birdhousebuilder.bootstrap's Issues

wps skeleton ...

maybe added a skeleton to start with a new wps "bird" project ... currently you would just clone an existing on like Emu ...

wget download failes on fedora 22

Command '['wget', '--no-check-certificate', '-N', '--continue', '-x', '-P', '/homel/cnangini/.conda/envs/bir
dhouse/var/cache/pywps', u'http://webportals.ipsl.jussieu.fr/thredds/fileServer/EUROCORDEX/extremoscope_FRA_20151009/polygons/TG/yr/rcp45/13/TG_rcp45_MetEir-ECEARTH_RACMO22E_1971-2100.nc']'

buildout bootstrap fails ...

buildout uses boostrap shell script which require (unfortunately) a very recent setuptools (>12.3 by now). The conda setuptools is usally older (12.2 by now).

solutions:

  • fetch the latest setuptools from pypi
  • keep boostrap shell script in git and update manually (when conda setuptools version fits)

troubles with conda cryptography package ...

error message:

 File "/home/travis/build/bird-house/flyingpigeon/eggs/birdhousebuilder.recipe.nginx-0.2.5-py2.7.egg/birdhousebuilder/recipe/nginx/__init__.py", line 19, in generate_cert

from OpenSSL import crypto

  File "/home/travis/.conda/envs/birdhouse/lib/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <module>

from OpenSSL import rand, crypto, SSL

  File "/home/travis/.conda/envs/birdhouse/lib/python2.7/site-packages/OpenSSL/rand.py", line 11, in <module>

from OpenSSL._util import (

  File "/home/travis/.conda/envs/birdhouse/lib/python2.7/site-packages/OpenSSL/_util.py", line 6, in <module>

from cryptography.hazmat.bindings.openssl.binding import Binding

ImportError: No module named cryptography.hazmat.bindings.openssl.binding

don't install as root

if user installs with root then stop installation and show user a warning "install with normal user".

Later on the installer might create a normal user on its own ...

silent "InsecurePlatformWarning"

# install libraries to stop SSL related InsecurePlatformWarning
pyopenssl        ; python_version < '2.7.9'
ndg-httpsclient  ; python_version < '2.7.9'
pyasn1 ; python_version < '2.7.9'

handle boostrap of buildout and setuptools ...

buildout bootstrap needs setuptools. Currently we are using setuptools from conda. If it would not be available bootstrap would fetch setuptools from pypi using curl. The download link is using https but the site has a self-signed certificate. curl is run without --insecure option and failes to download setuptools ...

Maybe setuptools download will be fixed ... or one has to provide setuptools in advance (using conda, manual download, ...)

define installation home ...

anaconda home can be defined with export ANACONDA_HOME=/opt/anaconda. But the installation uses a fixed conda enviroment home ... so things are always installed into ~/.conda/envs/birdhouse.

Make the conda envs dir configurable.

make clean should remove *.pyc files

pyc files are not removed on an update and can fail the application.

make distclean does remove them (removes everything that is not in git).

configure anaconda_home

it should be possible to use a different anaconda_home than ~/anaconda

should also use a shared anaconda installation (read-only) and create its own environment

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.