Skip to content

Commit

Permalink
TESTING: move setup.py out of the way
Browse files Browse the repository at this point in the history
  • Loading branch information
speth committed Mar 29, 2022
1 parent ae5c928 commit c423904
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions interfaces/cython/SConscript
Expand Up @@ -113,7 +113,7 @@ env['python_module'] = mod
env['python_extension'] = ext

localenv.Depends(mod, [ext, dataFiles, testFiles, setup_cfg, readme, license,
"setup.py", "pyproject.toml"])
"setup-debian.py", "pyproject.toml"])
localenv.Depends(ext, localenv['cantera_staticlib'])

for f in (multi_glob(localenv, 'cantera', 'py') +
Expand Down Expand Up @@ -159,6 +159,6 @@ if localenv['PYTHON_INSTALLER'] == 'direct':
elif localenv['PYTHON_INSTALLER'] == 'debian':
install(localenv.Command, 'dummy', mod,
'cd build/python && '
'$python_cmd_esc setup.py build --build-lib=. '
'$python_cmd_esc setup-debian.py build --build-lib=. '
'install --install-layout=deb --no-compile --root=${python_prefix}')
env["python_module_loc"] = "<unspecified>"
7 changes: 7 additions & 0 deletions interfaces/cython/setup-debian.py
@@ -0,0 +1,7 @@
# This script is only used with on Debian based systems with the patched
# versions of patched versions of setuptools that are installed there.
from setuptools import setup, Extension

extension = Extension("cantera._cantera", sources=[])

setup(ext_modules=[extension])
5 changes: 0 additions & 5 deletions interfaces/cython/setup.py

This file was deleted.

0 comments on commit c423904

Please sign in to comment.