Skip to content

Commit

Permalink
Merge pull request #12 from dnjohnstone/master
Browse files Browse the repository at this point in the history
update setup.py install_requires
  • Loading branch information
dnjohnstone authored Jul 16, 2019
2 parents a2fde98 + c1d39fd commit 7c6b25b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ language: python

env:
global:
- DEPS="scipy matplotlib numpy tqdm transforms3d diffpy.structure"
- TEST_DEPS="pytest pytest-cov coveralls"

matrix:
Expand Down Expand Up @@ -34,7 +33,7 @@ before_install:
- df -h

install:
- conda install -y $DEPS $TEST_DEPS;
- conda install -y $TEST_DEPS;
- pip install .

script:
Expand Down
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
environment:

global:
DEPS: "scipy matplotlib numpy tqdm transforms3d diffpy.structure"
TEST_DEPS: "pytest"
MPLBACKEND: "agg"

Expand All @@ -26,7 +25,7 @@ install:
- "conda activate testenv"

# Install the dependencies of diffsims.
- 'conda install -yq %DEPS% %TEST_DEPS%'
- 'conda install -yq %TEST_DEPS%'

# Install our package
- 'pip install -e .'
Expand Down
10 changes: 7 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,15 @@
packages=find_packages(),
# adjust the tabbing
install_requires=[
'scikit-image == 0.15.0',
'matplotlib < 3.1.0',
'scipy>=0.15',
'numpy>=1.10',
'scikit-image==0.15.0',
'matplotlib==3.0.3',
'tqdm>=0.4.9',
'transforms3d',
'diffpy.structure >= 3.0.0' # First Python 3 support
'diffpy.structure>=3.0.0' # First Python 3 support
],
python_requires='>=3.6',
package_data={
"": ["LICENSE", "readme.rst", ],
"diffsims": ["*.py"],
Expand Down

0 comments on commit 7c6b25b

Please sign in to comment.