Skip to content

Commit

Permalink
uses pip for build process (#29)
Browse files Browse the repository at this point in the history
* Updates README.md
* Creates a dummy precice package for successful testing
  • Loading branch information
BenjaminRodenberg authored May 10, 2019
1 parent 1b8a278 commit a2b5b5d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ matrix:
- pip3 install scipy

script:
- mkdir -p precice && echo -e "from setuptools import setup\nsetup(name='precice')" > precice/setup.py
- $PY -m pip install ./precice/
- $PY setup.py test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Make sure to install

### Build and install the adapter

Run ``python3 setup.py install --user`` from your shell.
Run ``pip3 install --user .`` from your shell.

### Test the adapter

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
author_email='benjamin.rueth@tum.de',
license='LGPL-3.0',
packages=['fenicsadapter'],
install_requires=['precice', 'fenics', 'scipy', 'numpy'],
test_suite='tests',
zip_safe=False)

0 comments on commit a2b5b5d

Please sign in to comment.