325e28bbb6
Newt is a programming library for color text mode, widget based user interfaces. Newt can be used to add stacked windows, entry widgets, checkboxes, radio buttons, labels, plain text fields, scrollbars, etc., to text mode user interfaces. Newt is based on the S-Lang library. feedback/ok aja@
17 lines
517 B
Python
17 lines
517 B
Python
# $OpenBSD: setup.py,v 1.1.1.1 2012/09/05 07:31:48 jasper Exp $
|
|
|
|
import os
|
|
from distutils.core import setup, Extension
|
|
|
|
setup ( name = 'newt',
|
|
version = '${VERSION}',
|
|
description = 'Python interface to Newt module',
|
|
py_modules = ['snack'],
|
|
ext_modules = [ Extension(
|
|
name='_snack',
|
|
sources=['snackmodule.c'],
|
|
include_dirs=['.', '${LOCALBASE}'+'/include', '${TRUEPREFIX}'+'/include'],
|
|
library_dirs=['.', '${LOCALBASE}'+'/lib', '${TRUEPREFIX}'+'/lib'],
|
|
libraries=['newt', 'popt', 'slang', 'ncurses']
|
|
)])
|