Compare commits
No commits in common. "ca2dc8f9cfc3412150f82b8ecfeb2b7e5bb6e49e" and "656bb9ebad5ff0c3b738b0f47df2e2da027e40d4" have entirely different histories.
ca2dc8f9cf
...
656bb9ebad
162
.gitignore
vendored
162
.gitignore
vendored
@ -1,162 +0,0 @@
|
|||||||
# Byte-compiled / optimized / DLL files
|
|
||||||
__pycache__/
|
|
||||||
*.py[cod]
|
|
||||||
*$py.class
|
|
||||||
|
|
||||||
# C extensions
|
|
||||||
*.so
|
|
||||||
|
|
||||||
# Distribution / packaging
|
|
||||||
.Python
|
|
||||||
build/
|
|
||||||
develop-eggs/
|
|
||||||
dist/
|
|
||||||
downloads/
|
|
||||||
eggs/
|
|
||||||
.eggs/
|
|
||||||
lib/
|
|
||||||
lib64/
|
|
||||||
parts/
|
|
||||||
sdist/
|
|
||||||
var/
|
|
||||||
wheels/
|
|
||||||
share/python-wheels/
|
|
||||||
*.egg-info/
|
|
||||||
.installed.cfg
|
|
||||||
*.egg
|
|
||||||
MANIFEST
|
|
||||||
|
|
||||||
# PyInstaller
|
|
||||||
# Usually these files are written by a python script from a template
|
|
||||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
||||||
*.manifest
|
|
||||||
*.spec
|
|
||||||
|
|
||||||
# Installer logs
|
|
||||||
pip-log.txt
|
|
||||||
pip-delete-this-directory.txt
|
|
||||||
|
|
||||||
# Unit test / coverage reports
|
|
||||||
htmlcov/
|
|
||||||
.tox/
|
|
||||||
.nox/
|
|
||||||
.coverage
|
|
||||||
.coverage.*
|
|
||||||
.cache
|
|
||||||
nosetests.xml
|
|
||||||
coverage.xml
|
|
||||||
*.cover
|
|
||||||
*.py,cover
|
|
||||||
.hypothesis/
|
|
||||||
.pytest_cache/
|
|
||||||
cover/
|
|
||||||
|
|
||||||
# Translations
|
|
||||||
*.mo
|
|
||||||
*.pot
|
|
||||||
|
|
||||||
# Django stuff:
|
|
||||||
*.log
|
|
||||||
local_settings.py
|
|
||||||
db.sqlite3
|
|
||||||
db.sqlite3-journal
|
|
||||||
|
|
||||||
# Flask stuff:
|
|
||||||
instance/
|
|
||||||
.webassets-cache
|
|
||||||
|
|
||||||
# Scrapy stuff:
|
|
||||||
.scrapy
|
|
||||||
|
|
||||||
# Sphinx documentation
|
|
||||||
docs/_build/
|
|
||||||
|
|
||||||
# PyBuilder
|
|
||||||
.pybuilder/
|
|
||||||
target/
|
|
||||||
|
|
||||||
# Jupyter Notebook
|
|
||||||
.ipynb_checkpoints
|
|
||||||
|
|
||||||
# IPython
|
|
||||||
profile_default/
|
|
||||||
ipython_config.py
|
|
||||||
|
|
||||||
# pyenv
|
|
||||||
# For a library or package, you might want to ignore these files since the code is
|
|
||||||
# intended to run in multiple environments; otherwise, check them in:
|
|
||||||
# .python-version
|
|
||||||
|
|
||||||
# pipenv
|
|
||||||
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
||||||
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
||||||
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
||||||
# install all needed dependencies.
|
|
||||||
#Pipfile.lock
|
|
||||||
|
|
||||||
# poetry
|
|
||||||
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
||||||
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
||||||
# commonly ignored for libraries.
|
|
||||||
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
||||||
#poetry.lock
|
|
||||||
|
|
||||||
# pdm
|
|
||||||
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
||||||
#pdm.lock
|
|
||||||
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
||||||
# in version control.
|
|
||||||
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
|
|
||||||
.pdm.toml
|
|
||||||
.pdm-python
|
|
||||||
.pdm-build/
|
|
||||||
|
|
||||||
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
||||||
__pypackages__/
|
|
||||||
|
|
||||||
# Celery stuff
|
|
||||||
celerybeat-schedule
|
|
||||||
celerybeat.pid
|
|
||||||
|
|
||||||
# SageMath parsed files
|
|
||||||
*.sage.py
|
|
||||||
|
|
||||||
# Environments
|
|
||||||
.env
|
|
||||||
.venv
|
|
||||||
env/
|
|
||||||
venv/
|
|
||||||
ENV/
|
|
||||||
env.bak/
|
|
||||||
venv.bak/
|
|
||||||
|
|
||||||
# Spyder project settings
|
|
||||||
.spyderproject
|
|
||||||
.spyproject
|
|
||||||
|
|
||||||
# Rope project settings
|
|
||||||
.ropeproject
|
|
||||||
|
|
||||||
# mkdocs documentation
|
|
||||||
/site
|
|
||||||
|
|
||||||
# mypy
|
|
||||||
.mypy_cache/
|
|
||||||
.dmypy.json
|
|
||||||
dmypy.json
|
|
||||||
|
|
||||||
# Pyre type checker
|
|
||||||
.pyre/
|
|
||||||
|
|
||||||
# pytype static type analyzer
|
|
||||||
.pytype/
|
|
||||||
|
|
||||||
# Cython debug symbols
|
|
||||||
cython_debug/
|
|
||||||
|
|
||||||
# PyCharm
|
|
||||||
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
||||||
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
||||||
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
||||||
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
||||||
#.idea/
|
|
@ -1,24 +0,0 @@
|
|||||||
[project]
|
|
||||||
name = "pyxforms"
|
|
||||||
version = "0.3.0"
|
|
||||||
description = "A Python binding for XForms"
|
|
||||||
authors = [
|
|
||||||
{ name = "Roberto Alsina", email = "roberto.alsina@gmail.com" }
|
|
||||||
]
|
|
||||||
dependencies = []
|
|
||||||
readme = "README.md"
|
|
||||||
requires-python = ">= 3.8"
|
|
||||||
|
|
||||||
[build-system]
|
|
||||||
requires = ["setuptools"]
|
|
||||||
build-backend = "setuptools.build_meta"
|
|
||||||
|
|
||||||
[tool.rye]
|
|
||||||
managed = true
|
|
||||||
dev-dependencies = []
|
|
||||||
|
|
||||||
[tool.hatch.metadata]
|
|
||||||
allow-direct-references = true
|
|
||||||
|
|
||||||
[tool.hatch.build.targets.wheel]
|
|
||||||
packages = ["src/pyxforms"]
|
|
@ -1,11 +0,0 @@
|
|||||||
# generated by rye
|
|
||||||
# use `rye lock` or `rye sync` to update this lockfile
|
|
||||||
#
|
|
||||||
# last locked with the following flags:
|
|
||||||
# pre: false
|
|
||||||
# features: []
|
|
||||||
# all-features: false
|
|
||||||
# with-sources: false
|
|
||||||
# generate-hashes: false
|
|
||||||
|
|
||||||
-e file:.
|
|
@ -1,11 +0,0 @@
|
|||||||
# generated by rye
|
|
||||||
# use `rye lock` or `rye sync` to update this lockfile
|
|
||||||
#
|
|
||||||
# last locked with the following flags:
|
|
||||||
# pre: false
|
|
||||||
# features: []
|
|
||||||
# all-features: false
|
|
||||||
# with-sources: false
|
|
||||||
# generate-hashes: false
|
|
||||||
|
|
||||||
-e file:.
|
|
@ -1,5 +1,5 @@
|
|||||||
#!/usr/local/bin/python
|
#!/usr/local/bin/python
|
||||||
from pyxforms import *
|
from Pyxform import *
|
||||||
|
|
||||||
#
|
#
|
||||||
# Init the library (sucks but works)
|
# Init the library (sucks but works)
|
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
|
||||||
|
|
116
setup.py
116
setup.py
@ -2,116 +2,143 @@
|
|||||||
from setuptools import setup, Extension
|
from setuptools import setup, Extension
|
||||||
|
|
||||||
bitmaps = Extension(
|
bitmaps = Extension(
|
||||||
name="pyxforms.bitmaps",
|
"Pyxform.bitmaps",
|
||||||
sources=["src/pyxforms/bitmaps.c"],
|
sources=["Pyxform/Modules/bitmaps.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
box = Extension(
|
box = Extension(
|
||||||
name="pyxforms.box",
|
"Pyxform.box",
|
||||||
sources=["src/pyxforms/box.c"],
|
sources=["Pyxform/Modules/box.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
browser = Extension(
|
browser = Extension(
|
||||||
name="pyxforms.browser",
|
"Pyxform.browser",
|
||||||
sources=["src/pyxforms/browser.c"],
|
sources=["Pyxform/Modules/browser.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
button = Extension(
|
button = Extension(
|
||||||
name="pyxforms.button",
|
"Pyxform.button",
|
||||||
sources=["src/pyxforms/button.c"],
|
sources=["Pyxform/Modules/button.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
choice = Extension(
|
choice = Extension(
|
||||||
name="pyxforms.choice",
|
"Pyxform.choice",
|
||||||
sources=["src/pyxforms/choice.c"],
|
sources=["Pyxform/Modules/choice.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
clock = Extension(
|
clock = Extension(
|
||||||
name="pyxforms.clock",
|
"Pyxform.clock",
|
||||||
sources=["src/pyxforms/clock.c"],
|
sources=["Pyxform/Modules/clock.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
counter = Extension(
|
counter = Extension(
|
||||||
name="pyxforms.counter",
|
"Pyxform.counter",
|
||||||
sources=["src/pyxforms/counter.c"],
|
sources=["Pyxform/Modules/counter.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
dial = Extension(
|
dial = Extension(
|
||||||
name="pyxforms.dial",
|
"Pyxform.dial",
|
||||||
sources=["src/pyxforms/dial.c"],
|
sources=["Pyxform/Modules/dial.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
forms = Extension(
|
forms = Extension(
|
||||||
name="pyxforms.forms",
|
"Pyxform.forms",
|
||||||
sources=["src/pyxforms/forms.c"],
|
sources=["Pyxform/Modules/forms.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
frame = Extension(
|
frame = Extension(
|
||||||
name="pyxforms.frame",
|
"Pyxform.frame",
|
||||||
sources=["src/pyxforms/frame.c"],
|
sources=["Pyxform/Modules/frame.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
goodies = Extension(
|
goodies = Extension(
|
||||||
name="pyxforms.goodies",
|
"Pyxform.goodies",
|
||||||
sources=["src/pyxforms/goodies.c"],
|
sources=["Pyxform/Modules/goodies.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
input = Extension(
|
input = Extension(
|
||||||
name="pyxforms.input",
|
"Pyxform.input",
|
||||||
sources=["src/pyxforms/input.c"],
|
sources=["Pyxform/Modules/input.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
menu = Extension(
|
menu = Extension(
|
||||||
name="pyxforms.menu",
|
"Pyxform.menu",
|
||||||
sources=["src/pyxforms/menu.c"],
|
sources=["Pyxform/Modules/menu.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
objects = Extension(
|
objects = Extension(
|
||||||
name="pyxforms.objects",
|
"Pyxform.objects",
|
||||||
sources=["src/pyxforms/objects.c"],
|
sources=["Pyxform/Modules/objects.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
pixmaps = Extension(
|
pixmaps = Extension(
|
||||||
name="pyxforms.pixmaps",
|
"Pyxform.pixmaps",
|
||||||
sources=["src/pyxforms/pixmaps.c"],
|
sources=["Pyxform/Modules/pixmaps.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
popups = Extension(
|
popups = Extension(
|
||||||
name="pyxforms.popups",
|
"Pyxform.popups",
|
||||||
sources=["src/pyxforms/popups.c"],
|
sources=["Pyxform/Modules/popups.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
positioner = Extension(
|
positioner = Extension(
|
||||||
name="pyxforms.positioner",
|
"Pyxform.positioner",
|
||||||
sources=["src/pyxforms/positioner.c"],
|
sources=["Pyxform/Modules/positioner.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
slider = Extension(
|
slider = Extension(
|
||||||
name="pyxforms.slider",
|
"Pyxform.slider",
|
||||||
sources=["src/pyxforms/slider.c"],
|
sources=["Pyxform/Modules/slider.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
text = Extension(
|
text = Extension(
|
||||||
name="pyxforms.text",
|
"Pyxform.text",
|
||||||
sources=["src/pyxforms/text.c"],
|
sources=["Pyxform/Modules/text.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
timer = Extension(
|
timer = Extension(
|
||||||
name="pyxforms.timer",
|
"Pyxform.timer",
|
||||||
sources=["src/pyxforms/timer.c"],
|
sources=["Pyxform/Modules/timer.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
xforms = Extension(
|
xforms = Extension(
|
||||||
name="pyxforms.xforms",
|
"Pyxform.xforms",
|
||||||
sources=["src/pyxforms/xforms.c"],
|
sources=["Pyxform/Modules/xforms.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
xyplot = Extension(
|
xyplot = Extension(
|
||||||
name="pyxforms.xyplot",
|
"Pyxform.xyplot",
|
||||||
sources=["src/pyxforms/xyplot.c"],
|
sources=["Pyxform/Modules/xyplot.c"],
|
||||||
libraries=["forms"],
|
libraries=["forms"],
|
||||||
|
library_dirs=["/usr/local/lib"],
|
||||||
)
|
)
|
||||||
setup(
|
setup(
|
||||||
|
name="PyXForms",
|
||||||
|
version="0.2",
|
||||||
|
description="This is OLD code",
|
||||||
|
author="Roberto Alsina",
|
||||||
|
author_email="ralsina@netmanagers.com.ar",
|
||||||
ext_modules=[
|
ext_modules=[
|
||||||
bitmaps,
|
bitmaps,
|
||||||
box,
|
box,
|
||||||
@ -136,4 +163,5 @@ setup(
|
|||||||
xforms,
|
xforms,
|
||||||
xyplot,
|
xyplot,
|
||||||
],
|
],
|
||||||
|
packages=["Pyxform"],
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user