Page 1 of 1

LuxCore as Python Wheel

Posted: Tue Feb 13, 2018 11:29 am
by Dade
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.

Re: LuxCore as Python Wheel

Posted: Wed Feb 14, 2018 11:58 am
by B.Y.O.B.
So... besides

Code: Select all

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

Pretty awesome.