Skip to content

Simplify Python setup process#109

Merged
awvwgk merged 1 commit intodftd4:mainfrom
awvwgk:python
Jul 16, 2021
Merged

Simplify Python setup process#109
awvwgk merged 1 commit intodftd4:mainfrom
awvwgk:python

Conversation

@awvwgk
Copy link
Copy Markdown
Member

@awvwgk awvwgk commented Jun 20, 2021

This should allow to install the Python API with pip using

pip install "https://github.com/dftd4/dftd4/archive/refs/heads/main#egg=dftd4-python&subdirectory=python"

It will require an existing dftd4 installation, though. Chances for success can be improved by installing pkgconfig, setting DFTD4_PREFIX to the directory where the installation can be found or providing a C compiler in the CC environment variable. None of those are mandatory as we try to fall back to reasonable defaults, but those defaults might not be where dftd4 is actually installed.

@awvwgk awvwgk added Python Affects the Python side of this project build Build system related issues (platform, compilers) labels Jun 20, 2021
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 20, 2021

Codecov Report

Merging #109 (898da56) into main (776f8af) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #109   +/-   ##
=======================================
  Coverage   60.04%   60.04%           
=======================================
  Files          39       39           
  Lines        2903     2903           
  Branches      985      985           
=======================================
  Hits         1743     1743           
  Misses        599      599           
  Partials      561      561           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 776f8af...898da56. Read the comment docs.

@awvwgk awvwgk merged commit 712a526 into dftd4:main Jul 16, 2021
@awvwgk awvwgk deleted the python branch July 16, 2021 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Build system related issues (platform, compilers) Python Affects the Python side of this project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant