File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Include package data
2+ include src/ncca/ngl/shaders/*
3+ include src/ncca/ngl/PrimData/Primitives.npz
4+
5+ # Include license and readme
6+ include LICENSE.txt
7+ include README.md
8+
9+ # Exclude tests and test-related files
10+ exclude tests/*
11+ global-exclude tests/*
12+ global-exclude *test*
13+ global-exclude __pycache__/*
14+ global-exclude *.pyc
15+ global-exclude *.pyo
16+
17+ # Exclude development and build files
18+ exclude .gitignore
19+ exclude .pre-commit-config.yaml
20+ exclude pyproject.toml.bak
21+ exclude *.log
22+ exclude TODO.md
23+ exclude sonar-project.properties
24+ exclude uv.lock
25+
26+ # Exclude directories
27+ prune tests
28+ prune .pytest_cache
29+ prune .ruff_cache
30+ prune .venv
31+ prune dist
32+ prune tmp
33+ prune .github
Original file line number Diff line number Diff line change 11[project ]
22name = " ncca-ngl"
3- version = " 0.1.0 "
3+ version = " 0.1.2 "
44description = " A Python version of the NGL graphics library."
55authors = [{ name = " Jon Macey" , email = " jmacey@bournemouth.ac.uk" }]
66requires-python = " >=3.13"
@@ -13,29 +13,34 @@ dependencies = [
1313 " glfw>=2.9.0" ,
1414 " freetype-py>=2.5.1" ,
1515 " pyside6>=6.9.2" ,
16+ " hatch>=1.14.2" ,
1617]
1718
1819[project .urls ]
1920Homepage = " https://github.com/NCCA/PyNGL"
2021Issues = " https://github.com/NCCA/PyNGL/issues"
2122
22- [tool .setuptools .packages .find ]
23- where = [" src" ]
24- include = [" ncca.*" ]
2523
2624[tool .pytest .ini_options ]
2725pythonpath = [" src" ," tests" ]
2826
29- # [build-system]
30- # requires = ["uv_build>=0.8.14,<0.9.0"]
31- # build-backend = "uv_build"
32- # module-name = ["ncca.ngl"]
33- # module-root = "src/ncca/"
3427
3528[build-system ]
3629requires = [" setuptools>=61.0" ]
3730build-backend = " setuptools.build_meta"
3831
32+ [tool .setuptools .packages .find ]
33+ where = [" src" ]
34+ include = [" ncca.*" ]
35+
36+ [tool .setuptools .package-data ]
37+ "ncca.ngl" = [" shaders/*" , " PrimData/Primitives.npz" ]
38+
39+ [tool .setuptools ]
40+ include-package-data = true
41+
42+
43+
3944[dependency-groups ]
4045dev = [
4146 " coverage>=7.10.6" ,
You can’t perform that action at this time.
0 commit comments