-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove pipenv and update how requirements are specified
- Loading branch information
1 parent
216cfa6
commit 939af6f
Showing
8 changed files
with
24 additions
and
565 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
language: python | ||
sudo: required | ||
dist: xenial | ||
python: | ||
- "3.6" | ||
- "3.7-dev" # 3.7 development branch | ||
- "3.7" | ||
# command to install dependencies | ||
install: | ||
- pip install pipenv | ||
- pipenv install | ||
- pipenv install '-e .' | ||
- pip install . | ||
- pip install -r requirements-dev.txt | ||
# command to run tests | ||
script: | ||
- pytest # or py.test for Python versions 3.5 and below |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -206,36 +206,11 @@ Clone this repository | |
``` | ||
git clone [email protected]:iandanforth/pymuscle.git | ||
cd pymuscle | ||
pip install -r requirements-dev.txt | ||
python setup.py develop | ||
pytest | ||
``` | ||
|
||
Install [pipenv](https://docs.pipenv.org/). (The modern combination of pip and | ||
virtual environments.) | ||
|
||
``` | ||
pip install pipenv | ||
``` | ||
|
||
If this throws a permissions error you will need to to run this with 'sudo' | ||
|
||
``` | ||
sudo pip install pipenv | ||
``` | ||
|
||
Install dependencies and start a clean python environment | ||
|
||
``` | ||
pipenv install | ||
pipenv shell | ||
``` | ||
|
||
To exit this python environment | ||
|
||
``` | ||
exit | ||
``` | ||
|
||
or close your terminal and start a new one. | ||
|
||
# Performance | ||
|
||
PyMuscle aims to be fast. We use Numpy to get fast vector computation. PyMuscle | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
""" | ||
PyMuscle Library | ||
""" | ||
VERSION = (0, 1, 0) | ||
VERSION = (0, 1, 1) | ||
|
||
__version__ = '.'.join(map(str, VERSION)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Why only a requirements-dev.txt? | ||
# https://caremad.io/posts/2013/07/setup-vs-requirement/ | ||
# Standard install: | ||
# `pip install pymuscle` # From PyPi | ||
# `pip install .` # Locally | ||
# `python setup.py install` # Same as above | ||
pytest >= 3.6 | ||
pylint | ||
coverage | ||
pytest-cov | ||
sphinx-rtd-theme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters