Skip to content
Snippets Groups Projects

Fix installation from git

Merged Markus Holzer requested to merge holzer/pystencils:FixInstallationFromGit into master
1 unresolved thread

If pystencils is installed from git and cython is not installed you get the error: gcc: error: pystencils/boundaries/createindexlistcython.c: No such file or directory. This is because the generated C file is not shipped and thus it is not available.

On pypi the C-file is shipped and thus it works.

Fixes #14 (closed)

Edited by Markus Holzer

Merge request reports

Pipeline #30868 passed

Pipeline passed for 4bd7e1a2 on holzer:FixInstallationFromGit

Merged by Michael KuronMichael Kuron 4 years ago (Mar 15, 2021 9:42am UTC)

Loading

Pipeline #30869 passed

Pipeline passed for 24dde405 on master

Test coverage 89.46% from 0 jobs

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
59 59
60 60 def cython_extensions(*extensions):
61 61 from distutils.extension import Extension
62 ext = '.pyx' if USE_CYTHON else '.c'
63 result = [Extension(e, [e.replace('.', '/') + ext]) for e in extensions]
62 print("File availddilan", os.path.exists("pystencils/boundaries/createindexlistcython.c"))
  • Markus Holzer added 1 commit

    added 1 commit

    Compare with previous version

  • Markus Holzer added 1 commit

    added 1 commit

    Compare with previous version

  • Michael Kuron mentioned in commit 24dde405

    mentioned in commit 24dde405

  • merged

  • Please register or sign in to reply
    Loading