<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>6552</bug_id>
          
          <creation_ts>2014-07-18 14:19:37 +0000</creation_ts>
          <short_desc>Need a proper way to install Toaster dependencies</short_desc>
          <delta_ts>2015-02-16 17:15:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>1.7</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.8</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>44565</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-07-18 14:19:37 +0000</bug_when>
    <thetext>Toaster requires Django and some other dependencies to be installed. Distro packages for these are rarely at the right version and some users are uncomfortable with installing &quot;random&quot; python packages using pip. We can do the same for these as we have done with other dependencies not well taken care of by the host distro - add them to buildtools or some very similar SDK-style installer.

There is a recipe for Django here - it may require some tidying up though:

http://layers.openembedded.org/layerindex/recipe/20580/

We&apos;ll also need a recipe for South.

(It&apos;s worth noting that we&apos;ll need recipes for these anyway when it comes time to make a build appliance that uses Toaster instead of Hob.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46925</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2014-11-11 22:11:28 +0000</bug_when>
    <thetext>Can you enumrate the complete list of &quot;some other dependencies&quot; beyond Django 
and South?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46934</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-11-12 08:55:24 +0000</bug_when>
    <thetext>The Toaster dependencies are listed here:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/bitbake/toaster-requirements.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46935</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2014-11-12 10:39:48 +0000</bug_when>
    <thetext>Proper way to install dependencies is:

$ virtualenv venv
$ source venv/bin/activate
$ pip install -r poky/bitbake/toaster-requirements.txt


I&apos;ve tested bitbake and it works fine in an virtualenv, so toaster can be used in managed mode (1.7/1.8 mode) to also run builds.

Please reopen with Documentation Change: Yes  if we need to change the manual to document this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46936</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2014-11-12 10:40:40 +0000</bug_when>
    <thetext>Reopened because I&apos;ve seen the need for the recipe.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46937</commentid>
    <comment_count>5</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-11-12 10:48:50 +0000</bug_when>
    <thetext>Right, we do need to provide the appropriate dependencies as part of buildtools.

We also definitely do need to document the proper procedure in the Toaster manual (when such a thing exists).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48503</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2015-02-03 10:17:55 +0000</bug_when>
    <thetext>CCing Scott since we just talked about documenting the Toaster installation procedure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48869</commentid>
    <comment_count>7</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-02-16 17:15:20 +0000</bug_when>
    <thetext>Perhaps contrary to the above, the documented install method will continue to be to use virtualenv + pip, and we are not going to extend buildtools / the build appliance out of the box.

For those that prefer an alternative, I have sent recipes to meta-python to build an appropriate version of python-django 
+ python-django-south that can be used to build fixed versions.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>