<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p><b><span style='font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:#AAAAAA'>Dell - Internal Use - Confidential </span></b><o:p></o:p></p><p class=MsoNormal>Having just finished installing and getting this work.  <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I used the instruction on the Ironic page to do this.  That worked my first try.  I did hve to install Python 2.7 and set it as active with alternatives<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Here is my post on what I did:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>So after spending many hours of setup and struggle.  I spoke with one of the local engineers and he said he can build the docs after following the instructions at <a href="http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html">http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html</a>.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>So I followed these instructions, then went back to our documentation at <a href="https://wiki.openstack.org/wiki/Documentation/HowTo#Edit_OpenStack_RST_and.2For_DocBook_documentation">https://wiki.openstack.org/wiki/Documentation/HowTo#Edit_OpenStack_RST_and.2For_DocBook_documentation</a><o:p></o:p></p><p class=MsoNormal>  and went to Building Output Locally.  <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I can now do a <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>tox –e py27  with no errors<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>activate my virtual environment<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>tox –e docs<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>with No errors<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Basics of what I did <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=SV>Operating System – CentOS 6.6<o:p></o:p></span></p><p class=MsoNormal><span lang=SV>python 2.7 (</span><a href="https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz"><span lang=SV>https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz</span></a><span lang=SV>)<o:p></o:p></span></p><p class=MsoNormal><span lang=SV>                setup as an alternative: <o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in;text-indent:.5in'><span lang=SV>alternatives --install /usr/bin/python python /usr/src/Python-2.7.9/python 2<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in;text-indent:.5in'><span lang=DE>alternatives --install /usr/bin/python python /usr/bin/python2.6 1 <o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in;text-indent:.5in'>alternatiives --config python<o:p></o:p></p><p class=MsoNormal>sudo easy_install nose<o:p></o:p></p><p class=MsoNormal>pip install virtualenv<o:p></o:p></p><p class=MsoNormal>pip install setuptools-git<o:p></o:p></p><p class=MsoNormal>pip install flake8<o:p></o:p></p><p class=MsoNormal>pip install tox <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p>> -----Original Message-----<br>> From: Jeremy Stanley [mailto:fungi@yuggoth.org]<br>> Sent: Monday, July 06, 2015 11:58 AM<br>> To: openstack-docs@lists.openstack.org<br>> Subject: Re: [OpenStack-docs] Tox on Docs, Docs on Tox<br>> <br>> On 2015-07-06 09:40:56 -0600 (-0600), Matt Kassawara wrote:<br>> > From the note...<br>> ><br>> > Ubuntu and Debian require the following additional dependencies: gcc,<br>> > gettext, python-dev, libxml2-dev, libxslt1-dev, zlib1g-dev<br>> ><br>> > RHEL and variants including Fedora, openSUSE and SUSE Linux Enterprise<br>> > require the following additional dependencies: gcc, python-devel,<br>> > libxml2-devel, libxslt-devel<br>> <br>> Once bindep[1] gets a little more ingrained in our repos (I've got<br>> patches underway to integrate it into our testing mechanisms<br>> currently), this could be solved by adding an other-requirements.txt<br>> file into the repo to which this applies. Its contents would look<br>> something like:<br>> <br>> gcc<br>> gettext [platform:dpkg]<br>> libxml2-dev [platform:dpkg]<br>> libxml2-devel [platform:rpm]<br>> libxslt-devel [platform:rpm]<br>> libxslt1-dev [platform:dpkg]<br>> python-dev [platform:dpkg]<br>> python-devel [platform:rpm]<br>> zlib1g-dev [platform:dpkg]<br>> <br>> And then with a corresponding "bindep" env in your tox.ini, your<br>> instructions could say to install tox and run `tox -e bindep` to get<br>> a list of additional packages you're missing on your platform.<br>> <br>> [1] https://git.openstack.org/cgit/openstack-infra/bindep/tree/README.rst<br>> --<br>> Jeremy Stanley<br>> <br>> _______________________________________________<br>> OpenStack-docs mailing list<br>> OpenStack-docs@lists.openstack.org<br>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs<o:p></o:p></p></div></body></html>