Skip to content

Commit

Permalink
pySTEL: Switched to pip based build system.
Browse files Browse the repository at this point in the history
  • Loading branch information
lazersos committed Nov 15, 2024
1 parent d6e3d6b commit 11a196d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ endif

pystel: libstell$(SHARED_EXT)
@echo 'Building pySTEL'
@cd pySTEL; python3 setup.py install --user

@cd pySTEL; pip install .
libstell$(SHARED_EXT):
@cd LIBSTELL; make shared_release

Expand Down
28 changes: 28 additions & 0 deletions pySTEL/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "pySTEL"
dynamic = ["version"]
description = "Python library for interfacing with STELLOPT"
readme = "README.md"
authors = [
{ name = "Samuel A. Lazerson", email = "[email protected]" },
]
dependencies = [
"contourpy",
"gmsh",
"matplotlib",
"numpy",
"numpy-stl",
"pyqt5",
"pyvtk",
"scipy",
"vtk",
"pyyaml"
]

[project.urls]
Homepage = "https://github.com/PrincetonUniversity/STELLOPT"

2 changes: 1 addition & 1 deletion pySTEL/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
scripts = ['VMECplot.py','FIELDLINESplot.py','vmec_util.py',\
'boozer_util.py','coils_util.py','fieldlines_util.py'],
install_requires=['numpy','matplotlib','PyQt5','scipy', \
'contourpy','vtk','numpy-stl','gmsh']
'contourpy','PyVTK','numpy-stl','gmsh','vtk']
)

0 comments on commit 11a196d

Please sign in to comment.