Skip to content

Commit

Permalink
MAINT: Clean up setup.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
MilanSkocic committed Dec 15, 2023
1 parent 83a8437 commit e400413
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions pywrapper/setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
r"""Setup."""
import pathlib
import importlib
import platform
import site
from setuptools import setup, Extension

libraries = None
Expand All @@ -24,17 +21,16 @@
if __name__ == "__main__":

mod_g704 = Extension(name="pyiapws.g704",
sources=["./pyiapws/cpy_iapws_g704.c"],
libraries=libraries,
library_dirs=library_dirs,
runtime_library_dirs=runtime_library_dirs,
extra_objects=extra_objects)
sources=["./pyiapws/cpy_iapws_g704.c"],
libraries=libraries,
library_dirs=library_dirs,
runtime_library_dirs=runtime_library_dirs,
extra_objects=extra_objects)
mod_r283 = Extension(name="pyiapws.r283",
sources=["./pyiapws/cpy_iapws_r283.c"],
libraries=libraries,
library_dirs=library_dirs,
runtime_library_dirs=runtime_library_dirs,
extra_objects=extra_objects)

sources=["./pyiapws/cpy_iapws_r283.c"],
libraries=libraries,
library_dirs=library_dirs,
runtime_library_dirs=runtime_library_dirs,
extra_objects=extra_objects)
setup(ext_modules=[mod_g704, mod_r283])

0 comments on commit e400413

Please sign in to comment.