LuxCore as Python Wheel

Discussion related to the Engine functionality, implementations and API.
Post Reply
User avatar
Dade
Developer
Posts: 1089
Joined: Mon Dec 04, 2017 8:36 pm

LuxCore as Python Wheel

Post by Dade » Tue Feb 13, 2018 11:29 am

Python Wheels are a form of packaging distribution used by Python. It is extremely handy and ubiquitous. LuxCoreRender is now available as Wheel in PyPI repository: https://pypi.python.org/pypi/luxcorerender

This mean it can be installed any Linux (and Windows soon) with just a "sudo pip install luxcorerender":

Code: Select all

david@i7-3930k:~/projects/luxcorerender/LinuxCompile$ sudo pip3 install luxcorerender
Collecting luxcorerender
  Downloading luxcorerender-2.0a4.dev1-cp34-cp34m-manylinux1_x86_64.whl (24.8MB)
    100% |████████████████████████████████| 24.8MB 74kB/s 
Installing collected packages: luxcorerender
Successfully installed luxcorerender-2.0a4.dev1
david@i7-3930k:~/projects/luxcorerender/LinuxCompile$ python3
And then can be used out of the box:

Code: Select all

david@i7-3930k:~/projects/luxcorerender/LinuxCompile$ python3
Python 3.4.3 (default, Nov 28 2017, 16:41:13) 
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyluxcore
>>> pyluxcore.Init()
>>> print(pyluxcore.Version())
2.0alpha4
>>> 
This is very handy for 2 categories of people:

1) Python developers;

2) Anyone using cloud servers (AWS, Google Cloud, etc.) and looking for the fastest way to install LuxCore for network rendering. It is available everywhere with just one command.
Support LuxCoreRender project with salts and bounties

User avatar
B.Y.O.B.
Developer
Posts: 1112
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: LuxCore as Python Wheel

Post by B.Y.O.B. » Wed Feb 14, 2018 11:58 am

So... besides

Code: Select all

import antigravity
Python developers can now import a complete OpenCL renderer with a few commands :shock:

Pretty awesome.
Support LuxCoreRender project with salts and bounties

Post Reply