Skip to content

Commit

Permalink
python build via hatch
Browse files Browse the repository at this point in the history
  • Loading branch information
jimkring committed Mar 16, 2023
1 parent eb37d64 commit d3d6e54
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 66 deletions.
10 changes: 5 additions & 5 deletions Source/JKI_Python_Bridge_for_LV.vipb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<VI_Package_Builder_Settings Version="2018" Created_Date="2013-11-18 15:20:26" Modified_Date="2023-03-15 15:00:59" Creator="Jim Kring" Comments="" ID="ed71effce9b4e0f70d42585854eb7916">
<VI_Package_Builder_Settings Version="2018" Created_Date="2013-11-18 15:20:26" Modified_Date="2023-03-16 10:29:32" Creator="Jim Kring" Comments="" ID="3c3f9e1909396832ab8aa27d75603c65">
<Library_General_Settings>
<Package_File_Name>jki_lib_python_bridge_for_labview</Package_File_Name>
<Library_Version>5.0.0.18</Library_Version>
<Library_Version>5.0.0.19</Library_Version>
<Auto_Increment_Version>false</Auto_Increment_Version>
<Library_Source_Folder>.</Library_Source_Folder>
<Library_Output_Folder>..\builds</Library_Output_Folder>
Expand Down Expand Up @@ -120,7 +120,7 @@ Public open source release.</Release_Notes>
</Destination_Overrides>
<Password_Overrides>
<Path>.</Path>
<Password>35de3215-4660-483c-88f5-d814e9e3309d</Password>
<Password/>
<Locked_Only>false</Locked_Only>
</Password_Overrides>
<Password_Overrides>
Expand Down Expand Up @@ -428,7 +428,7 @@ Public open source release.</Release_Notes>
<Path>JKI Python Bridge - VI Tree.vi</Path>
<VI_Title/>
</Items_Data>
<GUID>87C682423EEA9F93FEB22DA92BB0E599</GUID>
<GUID>24235AC659357A3A38563ADC0F086B06</GUID>
</Functions_Palette_Data>
<Functions_Palette_Data>
<Parent_Palette_Index>0</Parent_Palette_Index>
Expand Down Expand Up @@ -491,7 +491,7 @@ Public open source release.</Release_Notes>
<Path>JKI Python Bridge - Example 2 PyObjects 1 Event Structure.vi</Path>
<VI_Title>2 Python Objects 1 Event Structure</VI_Title>
</Items_Data>
<GUID>44223D2C07CF12287E8934FF80DB09F9</GUID>
<GUID>3CBC280DF59425C1D621538CF614C50D</GUID>
</Functions_Palette_Data>
</Library_Palette_Definition>
</VI_Package_Builder_Settings>
39 changes: 27 additions & 12 deletions py_src/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,33 @@
[tool.poetry]
name = "python-bridge-for-labview"
version = "0.0.2"
description = "Create custom APIs for your LabVIEW applications"
authors = ["JKI"]
license = "Proprietary"
#readme = "README.md"
[project]
name = "jki-python-bridge-for-labview"
description = "JKI Python Bridge for LabVIEW. Easily control your LabVIEW applications from python via define custom APIs."
version = "5.0.0"
authors = [
{ name = "JKI", email = "info@jki.net" },
]
dependencies = []
license = "BSD-2-Clause-Patent"
readme = "../README.md"

[project.optional-dependencies]
dev = []

[tool.poetry.dependencies]
python = "^3.8"

#[tool.poetry.dev-dependencies]
#Cython = "^0.29.27"

[build-system]
requires = ["poetry-core>=1.0.0", "setuptools>=42", "wheel", "nuitka"]
build-backend = "nuitka.distutils.Build"
build-backend = "hatchling.build"
requires = ["hatchling"]

[tool.hatch.build.targets.sdist]
exclude = [
".github",
".gitignore",
"docs",
"dist",
".venv",
]

[tool.hatch.build.targets.wheel]
packages = ["src/jki_python_bridge_for_labview"]

18 changes: 0 additions & 18 deletions py_src/python_bridge_for_labview.pyi

This file was deleted.

2 changes: 0 additions & 2 deletions py_src/requirements.txt

This file was deleted.

29 changes: 0 additions & 29 deletions py_src/setup.cfg

This file was deleted.

0 comments on commit d3d6e54

Please sign in to comment.