Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: System :: Hardware :: Hardware Drivers",
]
Expand All @@ -29,7 +30,7 @@ dependencies = [
"pandas",
"pymeasure",
"Pillow",
# "gpib-ctypes"
# "gpib-ctypes", # JOSS TIP: Keep this commented for GitHub Actions to pass (requires OS drivers)
]

[project.urls]
Expand All @@ -39,8 +40,8 @@ dependencies = [
[project.gui-scripts]
pica-launcher = "PICA_v6:main"

# --- CRITICAL SECTION FOR YOUR FOLDER STRUCTURE ---
# --- CRITICAL CONFIGURATION FOR YOUR FOLDER STRUCTURE ---
[tool.setuptools.packages.find]
where = ["."] # Look in the root directory
include = ["*"] # Automatically find folders like 'Keithley_2400', 'Utilities', etc.
exclude = ["tests*", "_assets*", "Setup*"] # Don't install the tests or assets
where = ["."] # Tells pip your code is in the root, not 'src'
include = ["*"] # Explicitly includes all subfolders (Keithley_2400, Utilities, etc.)
exclude = ["tests*", "_assets*", "Setup*"] # Excludes non-code assets from the installed package