diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..96f1555 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2018 The Python Packaging Authority + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/dist/xsd2tkform-0.1.0-py3-none-any.whl b/dist/xsd2tkform-0.1.0-py3-none-any.whl new file mode 100644 index 0000000..c7d3f54 Binary files /dev/null and b/dist/xsd2tkform-0.1.0-py3-none-any.whl differ diff --git a/dist/xsd2tkform-0.1.0.tar.gz b/dist/xsd2tkform-0.1.0.tar.gz new file mode 100644 index 0000000..22de84b Binary files /dev/null and b/dist/xsd2tkform-0.1.0.tar.gz differ diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..374b58c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,6 @@ +[build-system] +requires = [ + "setuptools>=42", + "wheel" +] +build-backend = "setuptools.build_meta" diff --git a/requirements.txt b/requirements.txt index 4a23342..e08e8a6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,2 @@ lxml - tkcalendar diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..435453d --- /dev/null +++ b/setup.cfg @@ -0,0 +1,25 @@ +[metadata] +name = xsd2tkform +version = 0.1.0 +author = Alexandre Schulz +author_email = alexandre.schulz@irap.omp.eu +description = Generate Tkinter forms from XSD files +long_description = API for generating Tkinter forms from XSD files +long_description_content_type = file: README.md +url = https://github.com/Dolgalad/xsd2tkform +project_urls = + Bug Tracker = https://github.com/Dolgalad/xsd2tkform/issues +classifiers = + Programming Language :: Python :: 3 + Licence :: OSI Approved :: MIT License + Operating System :: OS Independent + +[options] +package_dir = + = . +packages = find: +python_requires = >=3.6 + +[options.packages.find] +where = . + diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..a9ba2f1 --- /dev/null +++ b/setup.py @@ -0,0 +1,35 @@ +import setuptools +import io + +with io.open("README.md", "r", encoding="utf-8") as fh: + long_description = fh.read() + +requirements = ["lxml", "tkcalendar"] + +setuptools.setup( + name="xsd2tkform", + version="0.1.0", + author="Alexandre Schulz", + author_email="alexandre.schulz@irap.omp.eu", + description="Generate Tkinter forms from XSD files", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/Dolgalad/xsd2tkform", + project_urls={ + "Bug Tracker": "https://github.com/Dolgalad/xsd2tkform/issues", + }, + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + ], + package_dir={"": "."}, + packages=setuptools.find_packages(where="."), + python_requires=">=3.6", + install_requires=requirements, + package_data={"":["*.png"], + "xsd2tkform":["img/*.png"], + }, + include_package_data=True, +) + -- libgit2 0.21.2