Skip to content

Commit

Permalink
created requirements.txt (#72)
Browse files Browse the repository at this point in the history
* created requirements.txt

* adapt github workflow

* add dependencies in github workflow?

I really have no idea, why it is not working now, because it literally
tells me in one execution that it doesnt need to install cython and in
the next line it cannot load it...

* revert changes

adding the dependency keyword, simply broke the pip workflow, I think.
Bc afterwards, github wouldnt do the workflow anymore...

* requirements in setup.pywq

* fix typo

* require wheel?

---------

Co-authored-by: Patrick Quoika <[email protected]>
  • Loading branch information
Clownshift and Patrick Quoika authored Feb 2, 2024
1 parent 540e413 commit 82bd28a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: sudo apt-get install -y libfftw3-dev && pip install Cython

- name: Build
run: pip install .
run: pip install -r requirements.txt; pip install .
working-directory: ${{ env.working-directory }}

#TODO: Run Tests
2 changes: 2 additions & 0 deletions package/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Cython
wheel
2 changes: 1 addition & 1 deletion package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
description = "Calculate the entropy of a given set of data, using the fftw3 library.",
author = "Johannes Kraml",
author_email="[email protected]",

install_requires=["Cython"],
py_modules=['xentropy.dihedrals', 'xentropy.kde', 'xentropy.internal.constants', 'xentropy.xentropy',
'xentropy.reweighting','xentropy.internal.resolution',
'xentropy.internal.pre_post_processing'],
Expand Down

0 comments on commit 82bd28a

Please sign in to comment.