Skip to content
forked from malirod/pylua

Example of binding between python and lua

License

Notifications You must be signed in to change notification settings

anosach-luxoft/pylua

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

pylua

Example of binding between python and lua

##Platform

Ubuntu 14.04 LTS, 16.04 LTS

##Prerequisite

  • python 2.7

sudo apt install python2.7-dev python-pip

  • flake8

sudo pip install flake8

usage: flake8 <file to check>

  • virtualenv

sudo pip install virtualenv

  • fabric

sudo pip install fabric

  • lua 5.2

sudo apt install liblua5.2 liblua5.2-dev

##Setup All further steps are performed in the project root

Install git hooks

python ./tools/infrastructure/install_hooks.py

Create virtual environment

virtualenv venv

. ./venv/bin/activate

pip install -r requirements.txt

##Usage To run all tests run

fab test_all

To run specific test or test case use

fab run_test:name=<file>:<Test_Case>.<test_method>

##Python & Lua binding Binding is implemented with help of lupa library

Read it's manual to know how it works.

About

Example of binding between python and lua

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%