Skip to content

Commit 95335ae

Browse files
committed
Add 0.7 builds
1 parent 38a318d commit 95335ae

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

app.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,18 @@ def blender():
3434
def convert():
3535
dico_master = builds.get("IfcConvert", "master")
3636
dico_v6 = builds.get("IfcConvert", "v0.6.0")
37+
dico_v7 = builds.get('IfcConvert','v0.7.0')
3738
return render_template(
38-
"ifcconvert.html", builds_master=dico_master, builds_v06=dico_v6
39+
"ifcconvert.html", builds_master=dico_master, builds_v06=dico_v6, dict_v7=dico_v7
3940
)
4041

4142

4243
@app.route("/python")
4344
def python():
4445
dico_master = builds.get("ifcopenshell-python", "master")
4546
dico_v6 = builds.get("ifcopenshell-python", "v0.6.0")
46-
return render_template("python.html", builds_master=dico_master, builds_v06=dico_v6)
47+
dict_v7 = builds.get('ifcopenshell-python','v0.7.0')
48+
return render_template("python.html", builds_master=dico_master, builds_v06=dico_v6, dict_v7=dict_v7)
4749

4850

4951
@app.route("/code")

templates/python.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,22 @@ <h3>Installation instructions for Windows, Linux and Mac OSX</h3>
1010
<li>Determine if your copy of Python is 32bit or 64bit</li>
1111
<li>Download the appropriate version of IfcOpenShell-python</li>
1212

13+
<li style='list-style-type:none'>0.7.0 latest</li>
14+
<ul>
15+
<li style='list-style-type:none'><b>Windows</b></li>
16+
{% for t in dict_v7['Windows'] %}
17+
<li><a href="{{t[0]}}">{{t[1]}}</a></li>
18+
{% endfor %}
19+
<li style='list-style-type:none'><b>Mac OSX</b></li>
20+
{% for t in dict_v7['OSX'] %}
21+
<li><a href="{{t[0]}}">{{t[1]}}</a></li>
22+
{% endfor %}
23+
<li style='list-style-type:none'><b>Linux</b></li>
24+
{% for t in dict_v7['Linux'] %}
25+
<li><a href="{{t[0]}}">{{t[1]}}</a></li>
26+
{% endfor %}
27+
</ul></li>
28+
1329
<li style='list-style-type:none'>0.6.0 latest</li>
1430
<ul>
1531
<li style='list-style-type:none'><b>Windows</b></li>

0 commit comments

Comments
 (0)