File: setup.py

package info (click to toggle)
python-lua 1.0-1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 200 kB
  • sloc: ansic: 1,199; python: 196; sh: 65; makefile: 16
file content (24 lines) | stat: -rw-r--r-- 420 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/python3

from setuptools import setup, Extension

module = Extension('lua',
	sources = [
		'lua.c',
		'function.c',
		'table.c',
	],
	depends = [
		'module.h',
		'setup.py',
	],
	language = 'c',
	libraries = ['lua5.4'],
	extra_compile_args = ['-I/usr/include/lua5.4'],
)

setup(name = 'lua-wrapper',
	version = '1.0',
	description = 'Allow Lua and Python scripts to work together',
	ext_modules = [module],
)