Git Product home page Git Product logo

houdini_install_script's Introduction

Houdini Silent Install Script

What is it

Automatically (silent) downloads and installs latest Houdini build. Good solution for studio pipeline!

What does it do

  • Logs in SideFx site using USERNAME and PASSWORD
  • Looking for the latest Houdini production build at http://www.sidefx.com/download/daily-builds/
  • Downloads the latest build if it is not yet downloaded or file is corrupted
  • Extracts archive (Linux)
  • Starts silent installation of Houdini only

How to

Start script with python in command line. Set USERNAME and PASSWORD of SideFx Site Account.

(linux)

python ./houdini_install.py -u myusername -p mypassword -i /opt/houdini

(windows start as admin!)

python c:\scripts\houdini_install.py -u myusername -p mypassword -i c:\software\houdini

Script will install houdini to folder installation_dir/build/

If last Houdini build is 16.5.123 HFS will be /opt/houdini/16.5.123 or c:\software\houdini\16.5.123

Flags

  • -i --install_dir - Installation dir. Required.
  • -u --username - SideFX site username
  • -p --password - SideFX site password
  • -s --server - Install Houdini License Server. y/yes, n/no, a/auto. Default auto (experimental)

Requires

  • Windows or Linux
  • python 2.7
  • Python Modules requests and BeautifulSoup

To install modules call command

pip install beautifulsoup4 requests

Tested on

  • Windows 10 x64
  • Ubuntu 16.04

houdini_install_script's People

Contributors

paulwinex avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

houdini_install_script's Issues

This script require requests module. Install: pip install requests

I've had success with this script in centos, but in ubuntu I get a package error even though it appears the package is installed.

vagrant@ubuntu-xenial:/vagrant$ python /opt/houdini_install_script/houdini_install.py -u 'omitted' -p 'omitted' -i /opt/houdini
This script require requests module.
 Install: pip install requests
vagrant@ubuntu-xenial:/vagrant$ sudo pip install requests
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.
  warnings.warn(warning, RequestsDependencyWarning)
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
The directory '/home/vagrant/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/vagrant/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied: requests in /usr/lib/python2.7/dist-packages (2.9.1)
vagrant@ubuntu-xenial:/vagrant$ python /opt/houdini_install_script/houdini_install.py -u 'omitted' -p 'omitted' -i /opt/houdini
This script require requests module.
 Install: pip install requests

AttributeError: 'NoneType' object has no attribute 'find'

Getting this error on Windows machine

C:\Users\ee\Desktop>python houdini_install.py -u ***** -p ***** -i "C:\Program Files\houdini"
Login on https://www.sidefx.com/login/ ...
Get last build version...
Traceback (most recent call last):
  File "houdini_install.py", line 93, in <module>
    a = s.find('div', {'class': lambda x: x and 'category-'+category in x.split()}).find('a')
AttributeError: 'NoneType' object has no attribute 'find'

Missing License

There's no license statement provided with the repository which means that the code is under copyright. If you want to let others to use your code, you should add a license file. This site might be useful to choose the license type you'd prefer: https://choosealicense.com/.

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.