The rest
This commit is contained in:
parent
c28d961744
commit
bac107a5b1
10
PKG-INFO
Normal file
10
PKG-INFO
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
Metadata-Version: 1.0
|
||||||
|
Name: PyXForms
|
||||||
|
Version: 0.2
|
||||||
|
Summary: This is OLD code
|
||||||
|
Home-page: UNKNOWN
|
||||||
|
Author: Roberto Alsina
|
||||||
|
Author-email: ralsina@netmanagers.com.ar
|
||||||
|
License: UNKNOWN
|
||||||
|
Description: UNKNOWN
|
||||||
|
Platform: UNKNOWN
|
39
README
Normal file
39
README
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
This is the 0.1 Alpha release pf pyxform, my interface between Python 1.3
|
||||||
|
And The XForms library.
|
||||||
|
|
||||||
|
You need:
|
||||||
|
|
||||||
|
A standard Unix, whit X-window, and Xpm library
|
||||||
|
I only tested it under Linux (it used to be a Slackware 3.0 ELF), but
|
||||||
|
should do well under anything XForms and Python work.
|
||||||
|
|
||||||
|
XForms 0.8
|
||||||
|
It's a free-for-non-commercial-use Widget library for X11
|
||||||
|
you can get it at:
|
||||||
|
http://bragg.phys.uwm.edu/xforms
|
||||||
|
BE CAREFUL: YOU NEED THE 0.80 beta, not the 0.75 official.
|
||||||
|
|
||||||
|
Python 1.3
|
||||||
|
It's a beautiful ,free, language.
|
||||||
|
Get it from
|
||||||
|
ftp://ftp.python.org
|
||||||
|
http://www.python.org
|
||||||
|
|
||||||
|
It's still fairly incomplete, mainly because of lack of free time, but it
|
||||||
|
is functional.
|
||||||
|
|
||||||
|
I tried to provide the easiest possible way to make a GUI for python under
|
||||||
|
UNIX, and think it's ready to be seen.
|
||||||
|
|
||||||
|
Sadly, there are no docs, yet, but the examples should be enough to get a
|
||||||
|
taste of the module, and the source should be readable.
|
||||||
|
|
||||||
|
To add it to your Python, put the *.c files in the Modules directory in
|
||||||
|
Python-1.3/Modules.
|
||||||
|
|
||||||
|
Add Modules/Setup.pyxform at the end of your Python-1.3/Modules/Setup file,
|
||||||
|
and edit it for your site.
|
||||||
|
|
||||||
|
BTW: If anyone likes it, email me at ralsina@unl.edu.ar
|
||||||
|
And for those non-unix people: Dr Zhao (The XForms author) say the next
|
||||||
|
version will have win32 support....
|
5
setup.cfg
Normal file
5
setup.cfg
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[egg_info]
|
||||||
|
tag_build =
|
||||||
|
tag_date = 0
|
||||||
|
tag_svn_revision = 0
|
||||||
|
|
99
setup.py
Normal file
99
setup.py
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from setuptools import setup, Extension
|
||||||
|
|
||||||
|
bitmaps = Extension('Pyxform.bitmaps',
|
||||||
|
sources = [ 'Pyxform/Modules/bitmaps.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
box = Extension('Pyxform.box',
|
||||||
|
sources = [ 'Pyxform/Modules/box.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
browser = Extension('Pyxform.browser',
|
||||||
|
sources = [ 'Pyxform/Modules/browser.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
button = Extension('Pyxform.button',
|
||||||
|
sources = [ 'Pyxform/Modules/button.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
choice = Extension('Pyxform.choice',
|
||||||
|
sources = [ 'Pyxform/Modules/choice.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
clock = Extension('Pyxform.clock',
|
||||||
|
sources = [ 'Pyxform/Modules/clock.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
counter = Extension('Pyxform.counter',
|
||||||
|
sources = [ 'Pyxform/Modules/counter.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
dial = Extension('Pyxform.dial',
|
||||||
|
sources = [ 'Pyxform/Modules/dial.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
forms = Extension('Pyxform.forms',
|
||||||
|
sources = [ 'Pyxform/Modules/forms.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
frame = Extension('Pyxform.frame',
|
||||||
|
sources = [ 'Pyxform/Modules/frame.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
goodies = Extension('Pyxform.goodies',
|
||||||
|
sources = [ 'Pyxform/Modules/goodies.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
input = Extension('Pyxform.input',
|
||||||
|
sources = [ 'Pyxform/Modules/input.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
menu = Extension('Pyxform.menu',
|
||||||
|
sources = [ 'Pyxform/Modules/menu.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
objects = Extension('Pyxform.objects',
|
||||||
|
sources = [ 'Pyxform/Modules/objects.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
pixmaps = Extension('Pyxform.pixmaps',
|
||||||
|
sources = [ 'Pyxform/Modules/pixmaps.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
popups = Extension('Pyxform.popups',
|
||||||
|
sources = [ 'Pyxform/Modules/popups.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
positioner = Extension('Pyxform.positioner',
|
||||||
|
sources = [ 'Pyxform/Modules/positioner.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
slider = Extension('Pyxform.slider',
|
||||||
|
sources = [ 'Pyxform/Modules/slider.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
text = Extension('Pyxform.text',
|
||||||
|
sources = [ 'Pyxform/Modules/text.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
timer = Extension('Pyxform.timer',
|
||||||
|
sources = [ 'Pyxform/Modules/timer.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
xforms = Extension('Pyxform.xforms',
|
||||||
|
sources = [ 'Pyxform/Modules/xforms.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
xyplot = Extension('Pyxform.xyplot',
|
||||||
|
sources = [ 'Pyxform/Modules/xyplot.c'],
|
||||||
|
libraries = ['forms'],
|
||||||
|
library_dirs = ['/usr/local/lib'])
|
||||||
|
setup (name = 'PyXForms',
|
||||||
|
version = '0.2',
|
||||||
|
description = 'This is OLD code',
|
||||||
|
author = 'Roberto Alsina',
|
||||||
|
author_email = 'ralsina@netmanagers.com.ar',
|
||||||
|
ext_modules = [bitmaps, box, browser, button, choice, clock, counter, dial, forms, frame, goodies, input, menu, objects, pixmaps, popups, positioner, slider, text, timer, xforms, xyplot],
|
||||||
|
packages = ['Pyxform']
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user