File tree Expand file tree Collapse file tree 4 files changed +35
-0
lines changed
tests/pyproject/pyproject-toml Expand file tree Collapse file tree 4 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ Python - pyproject.toml
2+ -----------------------
3+
4+ ``pyproject.toml `` should be used over ``setup.py ``.
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" hatchling" ]
3+ build-backend = " hatchling.build"
4+
5+ [project ]
6+ name = " mwt"
7+ version = " 1.0.0"
8+ dependencies = [
9+ " numpy" ,
10+ ]
11+ requires-python = " >=3.12"
12+ authors = [
13+ {
name =
" Project Jupyter Contributors" ,
email =
" [email protected] " },
14+ ]
15+ maintainers = [
16+ {
name =
" Project Jupyter Contributors" ,
email =
" [email protected] " },
17+ ]
18+ description = " Test for repo2docker"
19+ readme = " README.rst"
20+ license = " MIT"
21+
22+ [project .urls ]
23+ Homepage = " https://repo2docker.readthedocs.io/"
24+ Documentation = " https://repo2docker.readthedocs.io/"
25+ Repository = " https://github.com/jupyterhub/repo2docker.git"
26+ "Bug Tracker" = " https://github.com/jupyterhub/repo2docker/issues"
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python
2+ try :
3+ import mwt
4+ except ImportError :
5+ raise Exception ("'mwt' shouldn't have been installed!" )
You can’t perform that action at this time.
0 commit comments